Class BrushInfoConverter
Provides a way to convert BrushInfo to a string and from a string.
Inheritance
System.Object
BrushInfoConverter
Assembly: Syncfusion.Shared.Base.dll
Syntax
public sealed class BrushInfoConverter : TypeConverter
Constructors
BrushInfoConverter()
Declaration
public BrushInfoConverter()
Methods
CanConvertFrom(ITypeDescriptorContext, Type)
Declaration
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Parameters
Type |
Name |
Description |
System.ComponentModel.ITypeDescriptorContext |
context |
|
System.Type |
sourceType |
|
Returns
ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)
Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
Type |
Name |
Description |
System.ComponentModel.ITypeDescriptorContext |
context |
|
System.Globalization.CultureInfo |
culture |
|
System.Object |
value |
|
Returns
CreateInstance(ITypeDescriptorContext, IDictionary)
Declaration
public override object CreateInstance(ITypeDescriptorContext context, IDictionary propertyValues)
Parameters
Type |
Name |
Description |
System.ComponentModel.ITypeDescriptorContext |
context |
|
System.Collections.IDictionary |
propertyValues |
|
Returns
GetCreateInstanceSupported(ITypeDescriptorContext)
Declaration
public override bool GetCreateInstanceSupported(ITypeDescriptorContext context)
Parameters
Type |
Name |
Description |
System.ComponentModel.ITypeDescriptorContext |
context |
|
Returns
GetProperties(ITypeDescriptorContext, Object, Attribute[])
Declaration
public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
Parameters
Type |
Name |
Description |
System.ComponentModel.ITypeDescriptorContext |
context |
|
System.Object |
value |
|
System.Attribute[] |
attributes |
|
Returns
Type |
System.ComponentModel.PropertyDescriptorCollection |
GetPropertiesSupported(ITypeDescriptorContext)
Declaration
public override bool GetPropertiesSupported(ITypeDescriptorContext context)
Parameters
Type |
Name |
Description |
System.ComponentModel.ITypeDescriptorContext |
context |
|
Returns