Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMultiValueConverter Interface

 

Provides a way to apply custom logic in a MultiBinding.

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

Public Interface IMultiValueConverter

NameDescription
System_CAPS_pubmethodConvert(Object(), Type, Object, CultureInfo)

Converts source values to a value for the binding target. The data binding engine calls this method when it propagates the values from source bindings to the binding target.

System_CAPS_pubmethodConvertBack(Object, Type(), Object, CultureInfo)

Converts a binding target value to the source binding values.

To associate a converter with a MultiBinding, create a class that implements the IMultiValueConverter interface, and then implement the Convert and ConvertBack methods.

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

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft