IMultiValueConverter Interface

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: