Summary
Converts an
ISolidColorBrush
to a Color
if the arguments are of the
correct type.
- Namespace
- Avalonia
.Markup .Xaml .Converters - Containing Type
- Color
To Brush Converter
Syntax
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Name | Type | Description |
---|---|---|
value | object | The value. |
targetType | Type | The target type. |
parameter | object | Not used. |
culture | CultureInfo | Not used. |
Return Value
Type | Description |
---|---|
object |
If value is an ISolidColorBrush and targetType
is Color then converts the solid color brush to a color.
|