Gets or sets property sorting order.
This is a dependency property.
Namespace:
Mindscape.WpfElementsAssembly: Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: 3.0.0.0 (3.0.0.0)
Syntax
Remarks
If both the BindingView.DefaultView.CustomSort property and the PropertyGrid.Sorting property are set, the last one to be set takes precedence. If BindingView.DefaultView.CustomSort is modified after PropertyGrid.Sorting has been set, PropertyGrid.Sorting continues to reflect its previous value (even though this value is ignored). Additionally, setting PropertyGrid.Sorting clears any previously set BindingView.DefaultView.SortDescriptions value.
Changing this setting while the grid is displayed collapses any expanded properties.
The PropertySorting class provides implementations of common sorting strategies.
Dependency Property InformationIdentifier field | SortingProperty |
Metadata properties set to true | None |