Class GridConditionalFormatRuleBaseTypeConverter
Converts the RuleBase class properties to the descriptor base converter.
Namespace: Syncfusion.Windows.Forms.Grid.Grouping
Assembly: Syncfusion.Grid.Grouping.Windows.dll
Syntax
public class GridConditionalFormatRuleBaseTypeConverter : DescriptorBaseConverter
Constructors
GridConditionalFormatRuleBaseTypeConverter()
Initialize the new instance for ConditionalFormatRuleBaseclass.
Declaration
public GridConditionalFormatRuleBaseTypeConverter()
Methods
CanConvertTo(ITypeDescriptorContext, Type)
Determines whether the current object can be converted to the specified 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 the object to. |
Returns
Type | Description |
---|---|
System.Boolean | True if this conversion is allowed. |
Overrides
ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)
Converts the given value to the specified 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 | Value to convert. |
System.Type | destinationType | Type to convert to. |
Returns
Type | Description |
---|---|
System.Object | Converted object. |