Constructor PropertyGroupDescription
PropertyGroupDescription()
Initializes a new instance of PropertyGroupDescription.
public PropertyGroupDescription()
PropertyGroupDescription(string)
Initializes a new instance of PropertyGroupDescription.
public PropertyGroupDescription(string propertyName)
Parameters
propertyNamestringThe 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
propertyNamestringThe 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.
converterIValueConverterThis 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
propertyNamestringThe 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.
converterIValueConverterThis 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.
stringComparisonStringComparisonThis 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.