DelegateConverterFactory.CreateMultiValueConverter(Func<Object[], Type, Object, CultureInfo, Object>, Func<Object, Type[], Object, CultureInfo, Object[]>) Method

Creates an instance of object that implements the IMultiValueConverter interface.

Namespace: DevExpress.Mvvm.UI

Assembly: DevExpress.Xpf.Core.v20.2.dll

Declaration

public static IMultiValueConverter CreateMultiValueConverter(
    Func<object[], Type, object, CultureInfo, object> convert,
    Func<object, Type[], object, CultureInfo, object[]> convertBack = null
)
Public Shared Function CreateMultiValueConverter(
    convert As Func(Of Object(), Type, Object, CultureInfo, Object),
    convertBack As Func(Of Object, Type(), Object, CultureInfo, Object()) = Nothing
) As IMultiValueConverter

Parameters

Name Type Description
convert Func<Object[], Type, Object, CultureInfo, Object>

A delegate method that converts a value.

Optional Parameters

Name Type Default Description
convertBack Func<Object, Type[], Object, CultureInfo, Object[]>

null

A delegate method that converts a value back.

Returns

Type Description
IMultiValueConverter

An instance of object that implements the IMultiValueConverter interface.

See Also