Επεξεργασία

Κοινή χρήση μέσω


PropertyGroupDescription.Converter Property

Definition

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.

public:
 property System::Windows::Data::IValueConverter ^ Converter { System::Windows::Data::IValueConverter ^ get(); void set(System::Windows::Data::IValueConverter ^ value); };
public System.Windows.Data.IValueConverter Converter { get; set; }
member this.Converter : System.Windows.Data.IValueConverter with get, set
Public Property Converter As IValueConverter

Property Value

The default value is null.

Remarks

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.

Applies to