DelegateConverterFactory.CreateMultiValueConverter<TIn1, TIn2, TOut>(Func<TIn1, TIn2, TOut>, Func<TOut, Tuple<TIn1, TIn2>>) Method
Creates an instance of object that implements the IMultiValueConverter interface.
Namespace: DevExpress.Mvvm.UI
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
#Declaration
public static IMultiValueConverter CreateMultiValueConverter<TIn1, TIn2, TOut>(
Func<TIn1, TIn2, TOut> convert,
Func<TOut, Tuple<TIn1, TIn2>> convertBack = null
)
#Parameters
Name | Type | Description |
---|---|---|
convert | Func<TIn1, TIn2, TOut> | A delegate method that converts a value. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
convert |
Func<TOut, Tuple<TIn1, TIn2>> | null | A delegate method that converts a value back. |
#Type Parameters
Name | Description |
---|---|
TIn1 | The type of the first value produced by the binding source. |
TIn2 | The type of the second value produced by the binding source. |
TOut | The type of the value of the binding target. |
#Returns
Type | Description |
---|---|
IMulti |
An instance of an object that implements the IMulti |
See Also