WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ValueComparer - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ValueComparer

    ValueComparer is used to sort the values based on the value type of the cells.

    Inheritance
    System.Object
    ValueComparer
    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 ValueComparer : IComparer

    Constructors

    ValueComparer()

    Declaration
    public ValueComparer()

    Methods

    Compare(Object, Object)

    compare the value for the sorting

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

    first object

    System.Object y

    second object

    Returns
    Type Description
    System.Int32

    Returns the position.

    Implements

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