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 static object ConvertBack(object value, Type targetType)
Parameters
Name | Type | Description |
---|---|---|
value | object | The value. |
targetType | Type | The target type. |
Return Value
Type | Description |
---|---|
object |
If value is an ISolidColorBrush and targetType
is Color then converts the solid color brush to a color.
|