Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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
convertBack 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
IMultiValueConverter

An instance of an object that implements the IMultiValueConverter interface.

See Also