Gets or sets property grouping settings. This is a dependency property.

Namespace:  Mindscape.WpfElements
Assembly:  Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: 3.0.0.0 (3.0.0.0)

Syntax

C#
public GroupDescription Grouping { get; set; }
Visual Basic (Declaration)
Public Property Grouping As GroupDescription

Remarks

This property supports only single-level grouping, as this is all that is usually required for the PropertyGrid. If multi-level grouping is required, bypass this property and use the BindingView.DefaultView.GroupDescriptions collection instead.

If both the BindingView.DefaultView.GroupDescriptions collection and the PropertyGrid.Grouping property are set, the last one to be set takes precedence. If BindingView.DefaultView.GroupDescriptions is modified after PropertyGrid.Grouping has been set, PropertyGrid.Grouping continues to reflect its previous value (even though this value is ignored in favour of the collection).

The PropertyGrouping class provides implementations of common grouping strategies.

Dependency Property Information
Identifier field GroupingProperty
Metadata properties set to true None

See Also