Class RadBrushTypeConverter
Inheritance
System.Object
RadBrushTypeConverter
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll
Syntax
public class RadBrushTypeConverter : TypeConverter
Constructors
RadBrushTypeConverter()
Declaration
public RadBrushTypeConverter()
Methods
CanConvertFrom(ITypeDescriptorContext, Type)
Declaration
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Parameters
System.ComponentModel.ITypeDescriptorContext
context
|
System.Type
sourceType
|
Returns
System.Boolean
|
CanConvertTo(ITypeDescriptorContext, Type)
Declaration
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
Parameters
System.ComponentModel.ITypeDescriptorContext
context
|
System.Type
destinationType
|
Returns
System.Boolean
|
ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)
Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
System.ComponentModel.ITypeDescriptorContext
context
|
System.Globalization.CultureInfo
culture
|
System.Object
value
|
Returns
System.Object
|
ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)
Declaration
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Parameters
System.ComponentModel.ITypeDescriptorContext
context
|
System.Globalization.CultureInfo
culture
|
System.Object
value
|
System.Type
destinationType
|
Returns
System.Object
|
TryConvertToRadBrush(String)
Declaration
public static RadBrush TryConvertToRadBrush(string colorName)
Parameters
System.String
colorName
|
Returns
RadBrush
|