Class TreeNodeAdvSubItemStyleInfoStoreConverter
Provides a type converter to convert TreeNodeAdvSubItemStyleInfoStore to and from various other.
Inheritance
Namespace: Syncfusion.Windows.Forms.Tools.MultiColumnTreeView
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class TreeNodeAdvSubItemStyleInfoStoreConverter : ExpandableObjectConverter
Constructors
TreeNodeAdvSubItemStyleInfoStoreConverter()
Initialize a new instance of the TreeNodeAdvSubItemStyleInfoStoreConverter class.
Declaration
public TreeNodeAdvSubItemStyleInfoStoreConverter()
Methods
CanConvertTo(ITypeDescriptorContext, Type)
Returns whether this converter can convert an object of the given type to the type of this converter.
Declaration
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.ITypeDescriptorContext | context | System.ComponentModel.ITypeDescriptorContext that provides a format context. |
System.Type | destinationType | System.ComponentModel.ITypeDescriptorContext that provides a format context. |
Returns
Type | Description |
---|---|
System.Boolean | If true, this converter can perform the conversion; otherwise, false. |
ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)
Converts the given value object to the specified type using the specified context and culture information.
Declaration
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.ITypeDescriptorContext | context | System.ComponentModel.ITypeDescriptorContext that provides a format context. |
System.Globalization.CultureInfo | culture | System.Globalization.CultureInfo. If null is passed, the current culture is assumed. |
System.Object | value | The object value. |
System.Type | destinationType | System.Type to convert the parameter to. |
Returns
Type | Description |
---|---|
System.Object | Returns the converted value. |