Export (0) Print
Expand All

IMultiValueConverter Interface

Provides a way to apply custom logic in a MultiBinding.

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

public interface IMultiValueConverter

The IMultiValueConverter type exposes the following members.

  NameDescription
Public methodConvertConverts 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.
Public methodConvertBackConverts a binding target value to the source binding values.
Top

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft