Class StyleInfoBaseConverter
Provides a type converter to convert expandable objects to and from various other representations.
Inheritance
System.Object
StyleInfoBaseConverter
Namespace: Syncfusion.UI.Xaml.CellGrid.Styles
Assembly: Syncfusion.SfCellGrid.WPF.dll
Syntax
public class StyleInfoBaseConverter : TypeConverter
Constructors
StyleInfoBaseConverter()
Declaration
public StyleInfoBaseConverter()
Methods
CanConvertTo(ITypeDescriptorContext, Type)
Indicates whether this converter can convert an object to the given destination type using the specified context.
Declaration
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.ITypeDescriptorContext | context | |
System.Type | destinationType |
Returns
Type |
---|
System.Boolean |
ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)
Converts the given value object to the specified destination 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 | |
System.Globalization.CultureInfo | culture | |
System.Object | value | |
System.Type | destinationType |
Returns
Type |
---|
System.Object |