Class ColorToHSVBackgroundConverter
Class which converts color to HSV background.
Inheritance
System.Object
ColorToHSVBackgroundConverter
Implements
System.Windows.Data.IMultiValueConverter
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class ColorToHSVBackgroundConverter : Object, IMultiValueConverter
Constructors
ColorToHSVBackgroundConverter()
Declaration
public ColorToHSVBackgroundConverter()
Methods
Convert(Object[], Type, Object, CultureInfo)
Converts color brush into solid brush.
Declaration
public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object[] | values | Color brush value |
System.Type | targetType | Target type |
System.Object | parameter | Binding parameters |
System.Globalization.CultureInfo | culture | Current UICulture |
Returns
Type | Description |
---|---|
System.Object | Returns HSV value. |
ConvertBack(Object, Type[], Object, CultureInfo)
Converts solid color brush into color brush.
Declaration
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | Solid color value |
System.Type[] | targetTypes | Target Type |
System.Object | parameter | Binding parameter |
System.Globalization.CultureInfo | culture | Current UICulture |
Returns
Type | Description |
---|---|
System.Object[] | Color brush |
Implements
System.Windows.Data.IMultiValueConverter