Class SortColumnDescription
Represents a class that contains the sorting information like sort column's name and sorting direction based on which sorting for a column is processed in a SfTreeGrid.
Inheritance
System.Object
SortColumnDescription
Namespace: Syncfusion.Maui.TreeGrid
Assembly: Syncfusion.Maui.TreeGrid.dll
Syntax
public class SortColumnDescription : BindableObject
Constructors
SortColumnDescription()
Creates an instance of SortColumnDescription.
Declaration
public SortColumnDescription()
SortColumnDescription(String, ListSortDirection)
Initializes a new instance of the SortColumnDescription class with the specified column name and sort direction.
Declaration
public SortColumnDescription(string columnName, ListSortDirection direction)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | columnName | The name of the column to be sorted. |
| System.ComponentModel.ListSortDirection | direction | The direction of sorting for the column. |
Fields
ColumnNameProperty
Identifies the ColumnName Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty ColumnNameProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
SortDirectionProperty
Identifies the SortDirection Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty SortDirectionProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
Properties
ColumnName
Gets or sets the name of the column to be sorted.
Declaration
public string ColumnName { get; set; }
Property Value
| Type |
|---|
| System.String |
SortDirection
Gets or sets the direction of sorting for the given column.
Declaration
public ListSortDirection SortDirection { get; set; }
Property Value
| Type |
|---|
| System.ComponentModel.ListSortDirection |