ClassGaugeMeasureConverter
Converts from/to GaugeMeasure structure.
Definition
Namespace:Telerik.Windows.Controls.Gauge
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public class GaugeMeasureConverter : TypeConverter
Inheritance: objectTypeConverterGaugeMeasureConverter
Inherited Members
Constructors
GaugeMeasureConverter()
Declaration
public GaugeMeasureConverter()
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
context
ITypeDescriptorContext for this call.
sourceType
Type being queried for support.
Returns
True if this converter can convert from the specified type; false otherwise.
Overrides
ConvertFrom(ITypeDescriptorContext, CultureInfo, object)
Attempts to convert to a GaugeMeasure from the given object.
Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
context
The ITypeDescriptorContext for this call.
culture
The CultureInfo which is respected when converting.
value
The object to convert to an instance of Location.
Returns
GaugeMeasure that was constructed.
Overrides