Represents a type converter for the Series
- Inheritance:
-
object
Type
Converter object
Constructors
PieSliceStyleSelectorConverter()
Initializes an instance of the class.
Methods
CanConvertFrom(ITypeDescriptorContext, Type)
Returns whether the type converter can convert an object from the specified type to the type of this converter.
Parameter | Type | Description |
---|---|---|
context | IType |
An object that provides a format context. |
sourceType | Type | The type you want to convert from. |
Returns
- bool:
true
if this converter can perform the conversion; otherwise,false
.
ConvertFrom(ITypeDescriptorContext, CultureInfo, object)
Converts from the specified value to the intended conversion type of the converter.
Parameter | Type | Description |
---|---|---|
context | IType |
An object that provides a format context. |
culture | Culture |
The Culture |
value | object | The value to convert to the type of this converter. |
Returns
- object:
The converted value.