menu

WinForms

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

    Show / Hide Table of Contents

    Class SortColumnDescriptions

    Represents a collection of sorting column description that raises notification for both collection and item changes.

    Inheritance
    System.Object
    SortColumnDescriptions
    Namespace: Syncfusion.WinForms.DataGrid
    Assembly: Syncfusion.SfDataGrid.WinForms.dll
    Syntax
    public class SortColumnDescriptions : ObservableCollection<SortColumnDescription>
    Remarks

    It can allows to add multiple SortColumnDescription instance to perform sorting.

    Constructors

    SortColumnDescriptions()

    Initializes a new instance of the SortColumnDescriptions class.

    Declaration
    public SortColumnDescriptions()

    Properties

    Item[String]

    Gets the column from the SortColumnDescriptions collection for the given column name.

    Declaration
    public SortColumnDescription this[string columnName] { get; }
    Parameters
    Type Name Description
    System.String columnName

    The columnName to retrieve the corresponding column.

    Property Value
    Type Description
    SortColumnDescription

    Returns the corresponding column from the SortColumnDescriptions collection.

    Methods

    OnCollectionChanged(NotifyCollectionChangedEventArgs)

    Occurs when the collection is changed.

    Declaration
    protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
    Parameters
    Type Name Description
    System.Collections.Specialized.NotifyCollectionChangedEventArgs e

    The System.Collections.Specialized.NotifyCollectionChangedEventArgs that contains the event data.

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