Converts strings to PropertyNameDataPointBinding objects.
Definition
Namespace:Telerik.Windows.Controls.ChartView
Assembly:Telerik.Windows.Controls.Chart.dll
Syntax:
public class StringToDataPointBindingConverter : TypeConverter
Inheritance: objectTypeConverterStringToDataPointBindingConverter
Inherited Members
Constructors
public StringToDataPointBindingConverter()
Methods
Returns whether the type converter can convert an object from the specified type to the type of this converter.
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
An object that provides a format context.
sourceTypeTypeThe type you want to convert from.
Returns:True if this converter can perform the conversion; otherwise, false.
Overrides:
Returns whether the type converter can convert an object to the specified type.
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
An object that provides a format context.
destinationTypeTypeThe type you want to convert to.
Returns:True if this converter can perform the conversion; otherwise, false.
Overrides:
Converts from the specified value to the intended conversion type of the converter.
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
An object that provides a format context.
cultureCultureInfoThe CultureInfo to use as the current culture.
valueobjectThe value to convert to the type of this converter.
Returns:The converted value.
Overrides:
Converts the specified value object to the specified type.
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
An object that provides a format context.
cultureCultureInfoThe CultureInfo to use as the current culture.
valueobjectThe object to convert.
destinationTypeTypeThe type to convert the object to.
Returns:The converted object.
Overrides: