menu

WinForms

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

    Show / Hide Table of Contents

    Class GridMaxLengthSummary

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

    Inheritance
    System.Object
    SummaryBase
    GridMaxLengthSummary
    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.Windows.Forms.Grid.Grouping
    Assembly: Syncfusion.Grid.Grouping.Windows.dll
    Syntax
    public sealed class GridMaxLengthSummary : SummaryBase, ITreeTableSummary

    Constructors

    GridMaxLengthSummary(Int32)

    Initializes a new instance of the GridMaxLengthSummary

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

    Maximum length.

    Fields

    Empty

    The initial summary object for empty records or tables.

    Declaration
    public static readonly GridMaxLengthSummary Empty
    Field Value
    Type
    GridMaxLengthSummary

    Properties

    MaxLength

    Gets The maximum length value.

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

    Methods

    Combine(SummaryBase)

    Combines 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)

    Combine(GridMaxLengthSummary)

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

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

    Another summary object (of the same type).

    Returns
    Type Description
    GridMaxLengthSummary

    A new summary object with combined values of both summaries.

    CreateSummaryFromElementMethod(SummaryDescriptor, Element)

    Creates a summary object for the specified SummaryDescriptor and Record.

    Declaration
    public static ITreeTableSummary CreateSummaryFromElementMethod(SummaryDescriptor sd, Element element)
    Parameters
    Type Name Description
    SummaryDescriptor sd

    The summary descriptor.

    Element element

    The element with data.

    Returns
    Type Description
    ITreeTableSummary

    A new summary object.

    ToString()

    Returns a string that represents the current object.

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

    A string that represents the current object.

    Overrides
    System.Object.ToString()

    Implements

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