Initializes a new instance of the PropertyGroupDescription class.
The name of the property that specifies which group an item belongs to.
A callback function that takes an item and a property name and returns the group name. If not specified, the group name is the property value for the item.
Gets the name of the property that is used to determine which group an item belongs to.
Returns the group name for the given item.
The item to get group name for.
The zero-based group level index.
The name of the group the item belongs to.
Returns a value that indicates whether the group name and the item name match (which implies that the item belongs to the group).
The name of the group.
The name of the item.
True if the names match; otherwise, false.
Describes the grouping of items using a property name as the criterion.
For example, the code below causes a CollectionView to group items by the value of their 'country' property:
You may also specify a callback function that generates the group name. For example, the code below causes a CollectionView to group items by the first letter of the value of their 'country' property: