PropertyGridControl.SortMode Property

Gets or sets how the property grid's data is sorted when sorting is applied. This is a dependency property.

Namespace: DevExpress.Xpf.PropertyGrid

Assembly: DevExpress.Xpf.PropertyGrid.v20.1.dll


public PropertyGridSortMode SortMode { get; set; }
Public Property SortMode As PropertyGridSortMode

Property Value

Type Description

A PropertyGridSortMode enumeration value that specifies the sort mode.


The SortMode property specifies the algorithm used to sort the column's data (by display text, edit value or using a custom sorting algorithm).

To provide custom sorting and/or grouping, set the SortMode property to 'Custom' and handle the PropertyGridControl.Sort event.

See Also