Class HotSpotConverter
Converts from/to HotSpot structure.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class HotSpotConverter : TypeConverter
Constructors
HotSpotConverter()
Declaration
public HotSpotConverter()
Methods
CanConvertFrom(ITypeDescriptorContext, Type)
Gets a value that indicates whether this type converter can convert from a given type.
Declaration
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Parameters
System.ComponentModel.ITypeDescriptorContext
context
ITypeDescriptorContext for this call. |
System.Type
sourceType
Type being queried for support. |
Returns
System.Boolean
True if this converter can convert from the specified type; false otherwise. |
ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)
Attempts to convert to a HotSpot from the given object.
Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
System.ComponentModel.ITypeDescriptorContext
context
The ITypeDescriptorContext for this call. |
System.Globalization.CultureInfo
culture
The CultureInfo which is respected when converting. |
System.Object
value
The object to convert to an instance of HotSpot. |
Returns
System.Object
Location that was constructed. |