Back to Devexpress

PropertyDefinitionBase.ChildrenSortMode Property

wpf-devexpress-dot-xpf-dot-propertygrid-dot-propertydefinitionbase-dce7fe54.md

latest2.6 KB
Original Source

PropertyDefinitionBase.ChildrenSortMode Property

Gets or sets the sort mode for the nested properties. This is a dependency property.

Namespace : DevExpress.Xpf.PropertyGrid

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

NuGet Package : DevExpress.Wpf.PropertyGrid

Declaration

csharp
public PropertyGridSortMode ChildrenSortMode { get; set; }
vb
Public Property ChildrenSortMode As PropertyGridSortMode

Property Value

TypeDescription
PropertyGridSortMode

A PropertyGridSortMode enumeration value.

|

Available values:

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.

|

Remarks

If the ChildrenSortMode property is set to PropertyGridSortMode.Unspecified, the sort mode for the nested properties is specified by the grid’s PropertyGridControl.SortMode property.

If the PropertyDefinition.AllowExpanding property is set to AllowExpandingMode.Never, the nested properties cannot be shown.

See Also

AllowExpanding

PropertyDefinitionBase Class

PropertyDefinitionBase Members

DevExpress.Xpf.PropertyGrid Namespace