IMultiValueConverter Interface


Provides a way to apply custom logic in a MultiBinding.

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

public interface IMultiValueConverter

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