Class StyleInfoBaseConverter
Provides a type converter to convert expandable objects to and from various
other representations.
Inheritance
System.Object
StyleInfoBaseConverter
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class StyleInfoBaseConverter : TypeConverter
Constructors
StyleInfoBaseConverter()
Declaration
public StyleInfoBaseConverter()
Methods
CanConvertTo(ITypeDescriptorContext, Type)
Indicates whether this converter can
convert an object to the given destination type using the specified context.
Declaration
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
Parameters
Type |
Name |
Description |
System.ComponentModel.ITypeDescriptorContext |
context |
|
System.Type |
destinationType |
|
Returns
ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)
Converts the given value object to
the specified destination type using the specified context and arguments.
Declaration
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Parameters
Type |
Name |
Description |
System.ComponentModel.ITypeDescriptorContext |
context |
|
System.Globalization.CultureInfo |
culture |
|
System.Object |
value |
|
System.Type |
destinationType |
|
Returns
GetProperties(ITypeDescriptorContext, Object, Attribute[])
Returns a collection of properties for
the type of array specified by the value parameter using the specified context and
attributes.
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)
Indicates whether this object supports properties using the
specified context.
Declaration
public override bool GetPropertiesSupported(ITypeDescriptorContext context)
Parameters
Type |
Name |
Description |
System.ComponentModel.ITypeDescriptorContext |
context |
|
Returns