Class ColorFilterConverter
Represents a class that filters a color by resting some of its parameter.
Inheritance
System.Object
ColorFilterConverter
Implements
Microsoft.UI.Xaml.Data.IValueConverter
Namespace: Syncfusion.UI.Xaml.Editors
Assembly: Syncfusion.Editors.WinUI.dll
Syntax
public class ColorFilterConverter : Object, IValueConverter
Constructors
ColorFilterConverter()
Declaration
public ColorFilterConverter()
Methods
Convert(Object, Type, Object, String)
Converts a color value by filtering some of its parameter.
Declaration
public object Convert(object value, Type targetType, object parameter, string language)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | Original color value. |
System.Type | targetType | Type of value to be returned. |
System.Object | parameter | Parameter used to filter the color value. |
System.String | language | Language. |
Returns
Type | Description |
---|---|
System.Object | A filtered color value. |
ConvertBack(Object, Type, Object, String)
This converter does not supports reverse conversion.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, string language)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | Value of color to be filtered. |
System.Type | targetType | Type of value to be returned. |
System.Object | parameter | Parameter used to filter the color value. |
System.String | language | Language. |
Returns
Type | Description |
---|---|
System.Object | Converted value. |
Implements
Microsoft.UI.Xaml.Data.IValueConverter