menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MaxLengthSummary - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class MaxLengthSummary

    Summarizes string fields and lets you determine the maximum length of a string in the column.

    Inheritance
    System.Object
    SummaryBase
    MaxLengthSummary
    Implements
    ITreeTableSummary
    Inherited Members
    SummaryBase.Info
    SummaryBase.ITreeTableSummary.Combine(ITreeTableSummary)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Syncfusion.Grouping
    Assembly: Syncfusion.Grouping.Base.dll
    Syntax
    public sealed class MaxLengthSummary : SummaryBase, ITreeTableSummary

    Constructors

    MaxLengthSummary(Int32)

    Initializes a new summary object for MaxLengthSummary with the specified length.

    Declaration
    public MaxLengthSummary(int maxLength)
    Parameters
    Type Name Description
    System.Int32 maxLength

    The length value.

    Fields

    Empty

    The initial summary object for empty records or tables.

    Declaration
    public static readonly MaxLengthSummary Empty
    Field Value
    Type
    MaxLengthSummary

    Properties

    MaxLength

    Gets the maximum length.

    Declaration
    public int MaxLength { get; }
    Property Value
    Type
    System.Int32

    Methods

    Combine(MaxLengthSummary)

    Combines the values of this summary with another summary and returns a new summary object.

    Declaration
    public MaxLengthSummary Combine(MaxLengthSummary other)
    Parameters
    Type Name Description
    MaxLengthSummary other

    Another summary object (of the same type).

    Returns
    Type Description
    MaxLengthSummary

    A new summary object with combined values of both summaries.

    Combine(SummaryBase)

    Overridden to combine the values of this summary with another summary and returns a new summary object.

    Declaration
    public override SummaryBase Combine(SummaryBase other)
    Parameters
    Type Name Description
    SummaryBase other

    Another summary object.

    Returns
    Type Description
    SummaryBase

    A new summary object with combined values of both summaries.

    Overrides
    SummaryBase.Combine(SummaryBase)

    CreatePageSummaryMethod(SummaryDescriptor, Record)

    Used to interface with page summary.

    Declaration
    public static ITreeTableSummary CreatePageSummaryMethod(SummaryDescriptor sd, Record record)
    Parameters
    Type Name Description
    SummaryDescriptor sd

    Summary descriptor.

    Record record

    Record values.

    Returns
    Type Description
    ITreeTableSummary

    An instance of the MaxLengthSummary class.

    CreateSummaryMethod(SummaryDescriptor, Record)

    Creates a summary object for the specified SummaryDescriptor and Record.

    Declaration
    public static ITreeTableSummary CreateSummaryMethod(SummaryDescriptor sd, Record record)
    Parameters
    Type Name Description
    SummaryDescriptor sd

    The summary descriptor.

    Record record

    The record with data.

    Returns
    Type Description
    ITreeTableSummary

    A new summary object.

    ToString()

    Returns string representation of the summary object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    A System.String that represents the current System.Object.

    Overrides
    System.Object.ToString()

    Implements

    ITreeTableSummary
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved