Class ColorUIAdvGroupTypeConverter
Provides a unified way of converting ColorUIAdv group to other types.
Inheritance
System.Object
ColorUIAdvGroupTypeConverter
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class ColorUIAdvGroupTypeConverter : ExpandableObjectConverter
Constructors
ColorUIAdvGroupTypeConverter()
Declaration
public ColorUIAdvGroupTypeConverter()
Methods
CanConvertTo(ITypeDescriptorContext, Type)
Check whether the type can be converted.
Declaration
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.ComponentModel.ITypeDescriptorContext | context | An System.ComponentModel.ITypeDescriptorContext that provides a format context. |
| System.Type | destinationType | The type convert object. |
Returns
| Type | Description |
|---|---|
| System.Boolean | The converted object. |
ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)
Converts the given value object to the reference 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 | An System.ComponentModel.ITypeDescriptorContext that provides a format context. |
| System.Globalization.CultureInfo | culture | A System.Globalization.CultureInfo that specifies the culture used to represent the font. |
| System.Object | value | The object value. |
| System.Type | destinationType | The type convert object. |
Returns
| Type | Description |
|---|---|
| System.Object | The converted object. |