menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SortDescriptor - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SortDescriptor

    Inheritance
    System.Object
    SortDescriptor
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Namespace: Syncfusion.DataSource
    Assembly: Syncfusion.DataSource.Portable.dll
    Syntax
    public class SortDescriptor : Object, INotifyPropertyChanged

    Constructors

    SortDescriptor()

    Initializes a new instance of the SortDescriptor class.

    Declaration
    public SortDescriptor()

    SortDescriptor(String)

    Initializes a new instance of the SortDescriptor class.

    Declaration
    public SortDescriptor(string propertyName)
    Parameters
    Type Name Description
    System.String propertyName

    Property name

    SortDescriptor(String, ListSortDirection)

    Initializes a new instance of the SortDescriptor class.

    Declaration
    public SortDescriptor(string propertyName, ListSortDirection direction)
    Parameters
    Type Name Description
    System.String propertyName

    Property name

    ListSortDirection direction

    The sort direction

    Properties

    Comparer

    Gets or sets the Comparer.

    Declaration
    public IComparer<object> Comparer { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IComparer<System.Object>

    IComparer of object.

    Direction

    Gets or sets the Sorting Direction

    Declaration
    public ListSortDirection Direction { get; set; }
    Property Value
    Type Description
    ListSortDirection

    The List Sort Direction.

    PropertyName

    Gets or sets the Property Name

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

    Represents the string value.

    Events

    PropertyChanged

    Occurs when the property is changed for the data objects on the collection.

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved