Class BrushToTextConverter
Represents a class which converts the brush into header text of the ColorPicker.
Inheritance
System.Object
BrushToTextConverter
Implements
System.Windows.Data.IMultiValueConverter
Namespace: Syncfusion.Windows.Tools
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class BrushToTextConverter : Object, IMultiValueConverter
Constructors
BrushToTextConverter()
Declaration
public BrushToTextConverter()
Methods
Convert(Object[], Type, Object, CultureInfo)
Converts brush to known color text.
Declaration
public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object[] | values | Brush to be converted |
System.Type | targetType | Type to be converted to |
System.Object | parameter | Converter parameter |
System.Globalization.CultureInfo | culture | Current culture |
Returns
Type |
---|
System.Object |
ConvertBack(Object, Type[], Object, CultureInfo)
Converts a value.
Declaration
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | |
System.Type[] | targetTypes | |
System.Object | parameter | Converter parameter |
System.Globalization.CultureInfo | culture | Current culture |
Returns
Type |
---|
System.Object[] |
Implements
System.Windows.Data.IMultiValueConverter