PropertyGroupDescription.Converter Property

Gets or sets a converter to apply to the property value or the item to produce the final value that is used to determine which group(s) an item belongs to.

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

[DefaultValueAttribute(null)]
public IValueConverter Converter { get; set; }

Property Value

Type: System.Windows.Data.IValueConverter
The converter to apply. The default is null.

To change the value that is eventually used for grouping before the groups are generated, use the Converter property to supply a value converter. For example, you might want to group items based on the first letter of a name. If the PropertyName property is not set, the item itself is passed to the value converter. The converter can return a collection, which indicates that the items can appear in more than one group.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: