Class Chart3DPaletteConverter
Represents a converter that may convert string value to a System.
Inheritance
Namespace: Telerik.Windows.Controls.ChartView
Assembly: Telerik.Windows.Controls.Chart.dll
Syntax
public class Chart3DPaletteConverter : TypeConverter
Constructors
Chart3DPaletteConverter()
Declaration
public Chart3DPaletteConverter()
Methods
CanConvertFrom(ITypeDescriptorContext, Type)
Returns whether the type converter can convert an object from the specified type to the type of this converter.
Declaration
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Parameters
System. An object that provides a format context. |
System. The type you want to convert from. |
Returns
System. True if this converter can perform the conversion; otherwise, false. |
CanConvertTo(ITypeDescriptorContext, Type)
Returns whether the type converter can convert an object to the specified type.
Declaration
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
Parameters
System. An object that provides a format context. |
System. The type you want to convert to. |
Returns
System. 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.
Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
System. An object that provides a format context. |
System. The System. |
System. The value to convert to the type of this converter. |
Returns
System. The converted value. |
Exceptions
System. System. |
ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)
Converts the specified value object to the specified type.
Declaration
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Parameters
System. An object that provides a format context. |
System. The System. |
System. The object to convert. |
System. The type to convert the object to. |
Returns
System. The converted object. |
Exceptions
System. System. |
GetStandardValues(ITypeDescriptorContext)
Returns a collection of standard values for the data type this type converter is designed for when provided with a format context.
Declaration
public override TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
Parameters
System. An System. |
Returns
System. A System. |
GetStandardValuesSupported(ITypeDescriptorContext)
Returns whether this object supports a standard set of values that can be picked from a list, using the specified context.
Declaration
public override bool GetStandardValuesSupported(ITypeDescriptorContext context)
Parameters
System. An System. |
Returns
System. Returns true if System. |