Class GridDataSortColumn
Provides the data for Sorting columns in GridDataControl.
Inheritance
System.Object
GridDataSortColumn
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridDataSortColumn : DependencyObject
Constructors
GridDataSortColumn()
Initializes a new instance of the GridDataSortColumn class.
Declaration
public GridDataSortColumn()
Fields
ColumnNameProperty
DependencyProperty for ColumnName property.
Declaration
public static readonly DependencyProperty ColumnNameProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
CustomComparerProperty
Declaration
public static readonly DependencyProperty CustomComparerProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
SortDirectionProperty
DependencyProperty for SortDirection property.
Declaration
public static readonly DependencyProperty SortDirectionProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
Properties
ColumnName
Gets or sets the name of the column.
Declaration
public string ColumnName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The name of the column. |
CustomComparer
Gets / sets the custom comparer.
Declaration
public IComparer<object> CustomComparer { get; set; }
Property Value
| Type |
|---|
| System.Collections.Generic.IComparer<System.Object> |
SortDirection
Gets or sets the sort direction.
Declaration
public ListSortDirection SortDirection { get; set; }
Property Value
| Type | Description |
|---|---|
| System.ComponentModel.ListSortDirection | The direction. |
Methods
InitializeFrom(GridDataSortColumn)
Initializes from another instance of GridDataSortColumn.
Declaration
public void InitializeFrom(GridDataSortColumn other)
Parameters
| Type | Name | Description |
|---|---|---|
| GridDataSortColumn | other | The other. |