ConvertBack(Object, Type, Object, CultureInfo) Method
Converts an ISolidColorBrush to a Color if the arguments are of the correct type.
Definition
Namespace: Avalonia.Markup.Xaml.Converters
Assembly: Avalonia.Markup.Xaml (in Avalonia.Markup.Xaml.dll)
- C#
- VB
- F#
public Object? ConvertBack(
Object? value,
Type targetType,
Object? parameter,
CultureInfo culture
)
Public 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
override ConvertBack :
value : Object *
targetType : Type *
parameter : Object *
culture : CultureInfo -> Object
Parameters
- Object
- The value.
- Type
- The target type.
- Object
- Not used.
- CultureInfo
- Not used.
Return Value
Object
If value is an ISolidColorBrush and targetType is Color then converts the solid color brush to a color.
Implements
IValueConverter.ConvertBack(Object, Type, Object, CultureInfo)See Also
Reference
ColorToBrushConverter Class
ConvertBack Overload
Avalonia.Markup.Xaml.Converters Namespace