Class RandomBrushConverter
Brush convertor
Inheritance
System.Object
RandomBrushConverter
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 RandomBrushConverter : IValueConverter
Constructors
RandomBrushConverter()
Declaration
public RandomBrushConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Converts into 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 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