ConvertBack Method
Converts a value.
Definition
Namespace: Avalonia.Data.Converters
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
Object? ConvertBack(
Object? value,
Type targetType,
Object? parameter,
CultureInfo culture
)
Function ConvertBack (
value As Object,
targetType As Type,
parameter As Object,
culture As CultureInfo
) As Object
abstract ConvertBack :
value : Object *
targetType : Type *
parameter : Object *
culture : CultureInfo -> Object
Parameters
- Object
- The value to convert.
- Type
- The type of the target.
- Object
- A user-defined parameter.
- CultureInfo
- The culture to use.
Return Value
Object
The converted value.
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
Reference
IValueConverter Interface
Avalonia.Data.Converters Namespace