Converter Property
Collapse the table of content
Expand the table of content

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:  PresentationFramework (in PresentationFramework.dll)

public IValueConverter Converter { get; set; }

Property Value

Type: System.Windows.Data.IValueConverter

The default value is null.

If you want to change the value that is eventually used for group you can use the Converter property to supply a value converter. For example, you may 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 may return a collection, which indicates the items can appear in more than one group.

.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show:
© 2016 Microsoft