Class RGBConverter
Conversion of RGB values
Inheritance
System.Object
RGBConverter
Implements
System.Windows.Data.IValueConverter
Namespace: Syncfusion.Windows.Converters
Assembly: Syncfusion.SfShared.Wpf.dll
Syntax
public class RGBConverter : Object, IValueConverter
Constructors
RGBConverter()
Declaration
public RGBConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Converts into RGB Value
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo language)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | input value |
System.Type | targetType | target type |
System.Object | parameter | input parameter |
System.Globalization.CultureInfo | language | input language |
Returns
Type | Description |
---|---|
System.Object | converted value as object |
ConvertBack(Object, Type, Object, CultureInfo)
Converts the value back into the object
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo language)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | input value |
System.Type | targetType | target type |
System.Object | parameter | input parameter |
System.Globalization.CultureInfo | language | input language |
Returns
Type | Description |
---|---|
System.Object | converted value as object |
Implements
System.Windows.Data.IValueConverter