WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridFormulaEngine.LenComparer - WindowsForms API Reference | Syncfusion

    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
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public class LenComparer : 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 - 2022 Syncfusion Inc. All Rights Reserved