alexa
menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class GridFormulaEngine.LenComparer

    Used by AdjustNameRangesForSize to create an ArrayList ordered by string length.

    Inheritance
    System.Object
    GridFormulaEngine.LenComparer
    Implements
    System.Collections.IComparer
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public class LenComparer : Object, IComparer

    Constructors

    LenComparer()

    Used internally. Initializes a new instance of the GridFormulaEngine.LenComparer class.

    Declaration
    public LenComparer()

    Methods

    Compare(Object, Object)

    Compares 2 strings based on their length.

    Declaration
    public int Compare(object x, object y)
    Parameters
    Type Name Description
    System.Object x

    First string to compare.

    System.Object y

    Second string to compare.

    Returns
    Type Description
    System.Int32

    Zero if both are equal; positive value if second string is greater; negative value if first string is greater.

    Implements

    System.Collections.IComparer
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved