GridSortInfo Members
Represents an element in the GridControl.SortInfo collection.Constructors
| Name | Description |
|---|---|
| GridSortInfo() | Initializes a new instance of the GridSortInfo class with default settings. |
| GridSortInfo(String, ListSortDirection, Boolean) | Initializes a new instance of the GridSortInfo class with the specified settings. |
| GridSortInfo(String, ListSortDirection) | Initializes a new instance of the GridSortInfo class with the specified settings. |
| GridSortInfo(String) | Initializes a new instance of the GridSortInfo class with the specified column. |
Fields
| Name | Description |
|---|---|
| FieldNameProperty static | Identifies the GridSortInfo.FieldName dependency property. |
| GroupIndexProperty static | Identifies the GridSortInfo.GroupIndex dependency property. |
| IsGroupedProperty static | Identifies the GridSortInfo.IsGrouped dependency property. |
| MergeWithPreviousGroupProperty static | Identifies the GridSortInfo.MergeWithPreviousGroup dependency property. |
| SortIndexProperty static | Identifies the GridSortInfo.SortIndex dependency property. |
| SortOrderProperty static | Identifies the GridSortInfo.SortOrder dependency property. |
Properties
| Name | Description |
|---|---|
| FieldName | Gets or sets the field name of the column to sort. This is a dependency property. |
| GroupIndex | Gets or sets the position of the column referred to by the current GridSortInfo object, among grouping columns. This is a dependency property. |
| IsGrouped | Gets whether the column which is referred to by the current GridSortInfo object is a grouping column. This is a dependency property. |
| MergeWithPreviousGroup | Gets or sets whether the current group is merged with the previous group. This is a dependency property. |
| SortIndex | Gets or sets the position of the column referred to by the current GridSortInfo object, among sorted columns. This is a dependency property. |
| SortOrder | Gets or sets the column’s sort order. This is a dependency property. |
Methods
| Name | Description |
|---|---|
| ChangeSortOrder() | Toggles the sort order. |
| ChangeSortOrder(String) | Toggles the sort order. |
| GetActualDirection(AllowedSortOrders, ListSortDirection) static | For internal use only. |
See Also