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.CreateValueConverter(Func<Object, Object>, Func<Object, Object>) Method

Creates an instance of object that implements the IValueConverter interface.

Namespace: DevExpress.Mvvm.UI

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public static IValueConverter CreateValueConverter(
    Func<object, object> convert,
    Func<object, object> convertBack = null
)

#Parameters

Name Type Description
convert Func<Object, Object>

A delegate method that converts a value.

#Optional Parameters

Name Type Default Description
convertBack Func<Object, Object> null

A delegate method that converts a value back.

#Returns

Type Description
IValueConverter

An instance of an object that implements the IValueConverter interface.

See Also