MultiBinding.Converter Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈