Class GridColHiddenTypeConverter
Implements the type converter for GridColHidden objects. GridColHiddenTypeConverter is a System.ComponentModel.ExpandableObjectConverter. It overrides the default behavior of the ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) method and adds support for design-time code serialization.
Inheritance
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public class GridColHiddenTypeConverter : ExpandableObjectConverter
Constructors
GridColHiddenTypeConverter()
Initializes a new instance of GridColHiddenTypeConverterclass.
Declaration
public GridColHiddenTypeConverter()
Methods
CanConvertTo(ITypeDescriptorContext, Type)
Determines whether this converter can convert the object to the specified type, using the specified context.
Declaration
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.ITypeDescriptorContext | context | Format context. |
System.Type | destinationType | A Type object that represents the type you want to convert to. |
Returns
Type | Description |
---|---|
System.Boolean | true if 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 | Format context. |
System.Globalization.CultureInfo | culture | Current culture information. |
System.Object | value | The System.Object to convert. |
System.Type | destinationType | The type to convert the value parameter to. |
Returns
Type | Description |
---|---|
System.Object | An System.Object that represents the converted value. |