[]
Converts various color types to a SolidColorBrush for display in the UI.
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Type | Name | Description |
---|---|---|
object | value | The value produced by the binding source. Can be of type GrapeCity.Viewer.Common.Color, Color, or Color. |
Type | targetType | The type of the binding target property. |
object | parameter | The converter parameter to use. |
CultureInfo | culture | The culture to use in the converter. |
Type | Description |
---|---|
object | A SolidColorBrush representing the converted color, or null if the conversion cannot be performed. |