PropertyGroupDescription Constructor ()

 

Initializes a new instance of the PropertyGroupDescription class.

Namespace:   System.Windows.Data
Assembly:  PresentationFramework (in PresentationFramework.dll)

public PropertyGroupDescription()

The following example shows how to use this constructor.

// This groups the items in the view by the property "Category"
PropertyGroupDescription groupDescription = new PropertyGroupDescription();
groupDescription.PropertyName = "Category";
listingDataView.GroupDescriptions.Add(groupDescription);

For the complete example see Data Binding Demo.

.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show: