Class GridStyleInfoConverter
Defines a class that provides a type converter to convert expandable objects to and from various other representations.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public class GridStyleInfoConverter : StyleInfoBaseConverter
Constructors
GridStyleInfoConverter()
Initializes anew instance of the GridStyleInfoConverter class.
Declaration
public GridStyleInfoConverter()
Methods
CanConvertTo(ITypeDescriptorContext, Type)
Determines whether this converter can convert an object to the specified destination type.
Declaration
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.ITypeDescriptorContext | context | Format context. |
System.Type | destinationType | The type you want to convert to. |
Returns
Type | Description |
---|---|
System.Boolean | IfTrueConversion is possible;Otherwise False. |
Overrides
ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)
Overrides and converts the given value object to the specified destination type.
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 object to convert. |
System.Type | destinationType | Type to convert the value parameter to. |
Returns
Type | Description |
---|---|
System.Object | Converted object. |