Class ColorToBrushConverter
Represents a convertor that converts color to brush
Inheritance
System.Object
ColorToBrushConverter
Implements
System.Windows.Data.IValueConverter
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.Converters
Assembly: Syncfusion.SfShared.Wpf.dll
Syntax
[ClassReference(IsReviewed = false, ShouldInclude = false)]
public class ColorToBrushConverter : IValueConverter
Constructors
ColorToBrushConverter()
Declaration
public ColorToBrushConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Converts color to brush
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 back into default type
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