Table of Contents

Constructor PropertyGroupDescription

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

PropertyGroupDescription()

Initializes a new instance of PropertyGroupDescription.

public PropertyGroupDescription()

PropertyGroupDescription(string)

Initializes a new instance of PropertyGroupDescription.

public PropertyGroupDescription(string propertyName)

Parameters

propertyName string

The 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 string

The 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 IValueConverter

This 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 string

The 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 IValueConverter

This 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 StringComparison

This 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.