FuncValueConverterTIn, TParam, TOutConvertBack Method

Converts a value.

Definition

Namespace: Avalonia.Data.Converters
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public Object? ConvertBack(
	Object? value,
	Type targetType,
	Object? parameter,
	CultureInfo culture
)

Parameters

value  Object
The value to convert.
targetType  Type
The type of the target.
parameter  Object
A user-defined parameter.
culture  CultureInfo
The culture to use.

Return Value

Object
The converted value.

Implements

IValueConverterConvertBack(Object, Type, Object, CultureInfo)

Remarks

This method should not throw exceptions. If the value is not convertible, return a BindingNotification in an error state. Any exceptions thrown will be treated as an application exception.

See Also