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

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


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


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