編輯

共用方式為


MultiBinding.Converter Property

Definition

Gets or sets the converter to use to convert the source values to or from the target value.

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

Property Value

A value of type IMultiValueConverter that indicates the converter to use. The default value is null.

Remarks

Individual bindings in the collection can have their own value Converter. For more information, see IValueConverter.

XAML Attribute Usage

<object Converter="myConverter"/>  

XAML Values

myConverter
A resource reference to a class that implements the IMultiValueConverter interface, which includes implementations of the Convert and ConvertBack methods. To refer to a value converter, use the Markup Extensions and WPF XAML.

Applies to