Converts from/to GaugeMeasure structure.
Definition
Namespace:Telerik.Windows.Controls.Gauge
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
C#
public class GaugeMeasureConverter : TypeConverter
Inheritance: objectTypeConverterGaugeMeasureConverter
Inherited Members
Constructors
C#
public GaugeMeasureConverter()
Methods
Gets a value that indicates whether this type converter can convert from a given type.
C#
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
ITypeDescriptorContext for this call.
sourceTypeTypeType being queried for support.
Returns:True if this converter can convert from the specified type; false otherwise.
Overrides:
Attempts to convert to a GaugeMeasure from the given object.
C#
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
The ITypeDescriptorContext for this call.
cultureCultureInfoThe CultureInfo which is respected when converting.
valueobjectThe object to convert to an instance of Location.
Returns:GaugeMeasure that was constructed.
Overrides: