menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SortComparers - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SortComparers

    Compares two SortComparer to perform sort operation based on custom logic.

    Inheritance
    System.Object
    SortComparers
    Namespace: Syncfusion.Data
    Assembly: Syncfusion.Data.WPF.dll
    Syntax
    [ComVisible(false)]
    public class SortComparers : ObservableCollection<SortComparer>

    Constructors

    SortComparers()

    Initializes a new instance of SortComparers class.

    Declaration
    public SortComparers()

    Properties

    Item[String]

    Gets the sort comparer for the specified property name.

    Declaration
    public IComparer<object> this[string propertyName] { get; }
    Parameters
    Type Name Description
    System.String propertyName

    The property name for which the sort comparer is to be obtained.

    Property Value
    Type Description
    System.Collections.Generic.IComparer<System.Object>

    Returns the sort comparer for the given property name.

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