Class ColorToHSVBackgroundConverter
Class which converts color to HSV background.
Inheritance
System.Object
ColorToHSVBackgroundConverter
Implements
System.Windows.Data.IMultiValueConverter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
public class ColorToHSVBackgroundConverter : 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