Back to Devexpress

PropertyGridSortMode Enum

wpf-devexpress-dot-xpf-dot-propertygrid-90ffe327.md

latest2.0 KB
Original Source

PropertyGridSortMode Enum

Lists values that specify how grid data is sorted.

Namespace : DevExpress.Xpf.PropertyGrid

Assembly : DevExpress.Xpf.PropertyGrid.v25.2.dll

NuGet Package : DevExpress.Wpf.PropertyGrid

Declaration

csharp
public enum PropertyGridSortMode
vb
Public Enum PropertyGridSortMode

Members

NameDescription
Ascending

Sorts grid data by property headers in ascending order.

| | Descending |

Sorts grid data by definition headers in descending order.

| | Custom |

Sorts grid data using a custom sorting rule, implemented within the PropertyGridControl.Sort event handler.

| | Definitions |

Sorts grid data in definition order. Properties having no definitions are located below properties that have definitions.

| | NoSort |

Doesn’t sort grid data.

| | Unspecified |

Uses the value of the PropertyGridControl.SortMode property.

|

The following properties accept/return PropertyGridSortMode values:

Remarks

The values listed by this enumeration are used to set the PropertyGridControl.SortMode and PropertyDefinitionBase.ChildrenSortMode properties.

See Also

DevExpress.Xpf.PropertyGrid Namespace