Constructor PropertyGroupDescription
PropertyGroupDescription()
Initializes a new instance of PropertyGroupDescription.
public PropertyGroupDescription()
PropertyGroupDescription(string)
Initializes a new instance of PropertyGroupDescription.
public PropertyGroupDescription(string propertyName)
Parameters
propertyName
stringThe name of the property whose value is used to determine which group(s) an item belongs to. If PropertyName is null, the item itself is used.
PropertyGroupDescription(string, IValueConverter)
Initializes a new instance of PropertyGroupDescription.
public PropertyGroupDescription(string propertyName, IValueConverter converter)
Parameters
propertyName
stringThe name of the property whose value is used to determine which group(s) an item belongs to. If PropertyName is null, the item itself is used.
converter
IValueConverterThis converter is applied to the property value (or the item) to produce the final value used to determine which group(s) an item belongs to. If the delegate returns an ICollection, the item is added to multiple groups - one for each member of the collection.
PropertyGroupDescription(string, IValueConverter, StringComparison)
Initializes a new instance of PropertyGroupDescription.
public PropertyGroupDescription(string propertyName, IValueConverter converter, StringComparison stringComparison)
Parameters
propertyName
stringThe name of the property whose value is used to determine which group(s) an item belongs to. If PropertyName is null, the item itself is used.
converter
IValueConverterThis converter is applied to the property value (or the item) to produce the final value used to determine which group(s) an item belongs to. If the delegate returns an ICollection, the item is added to multiple groups - one for each member of the collection.
stringComparison
StringComparisonThis governs the comparison between an item's value (as determined by PropertyName and Converter) and a group's name. It is ignored unless both comparands are strings. The default value is StringComparison.Ordinal.