menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridFormulaNamedRangesEditHelper.AlphaComparer - API Reference

    Show / Hide Table of Contents

    Class GridFormulaNamedRangesEditHelper.AlphaComparer

    Custom IComparer object used alphabetize the ranges.

    Inheritance
    System.Object
    GridFormulaNamedRangesEditHelper.AlphaComparer
    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
    protected class AlphaComparer : IComparer

    Constructors

    AlphaComparer()

    Used internally.

    Declaration
    public AlphaComparer()

    Methods

    Compare(Object, Object)

    Compares 2 items as strings.

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

    The first object to compare.

    System.Object y

    The second object to compare.

    Returns
    Type Description
    System.Int32

    Value Condition Less than zero x is less than y. Zero x equals y. Greater than zero x is greater than y.

    Exceptions
    Type Condition
    System.ArgumentException

    Neither x nor y implements the System.IComparable interface. -or- x and y are of different types and neither one can handle comparisons with the other.

    Implements

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