alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class SortComparer

    Represents the properties to sort the data based on custom logic.

    Inheritance
    object
    SortComparer
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Maui.Data
    Assembly: Syncfusion.Maui.Data.dll
    Syntax
    public class SortComparer

    Constructors

    SortComparer()

    Initializes a new instance of SortComparer class.

    Declaration
    public SortComparer()

    Properties

    Comparer

    Gets or sets the comparer, that compares the two cell values and perform sorting based on the custom logic.

    Declaration
    public IComparer<object> Comparer { get; set; }
    Property Value
    Type Description
    IComparer<object>

    The comparer that compares the two cell values and perform sorting based on the custom logic.

    PropertyName

    Gets or sets the property of the underlying collection view, for which sorting is to be applied.

    Declaration
    public string PropertyName { get; set; }
    Property Value
    Type Description
    string

    A string that specifies the property of the underlying collection view, for which sorting is to be applied.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved