Class NullableDoubleConverter
This class is used by the design-time and XAML infrastructure to convert string to nullable double.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
public class NullableDoubleConverter : TypeConverter
Constructors
NullableDoubleConverter()
Initializes a new instance of the NullableDoubleConverter class.
Declaration
public NullableDoubleConverter()
Methods
CanConvertFrom(ITypeDescriptorContext, Type)
Determines whether this instance [can convert from] the specified context.
Declaration
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Parameters
System.ComponentModel.ITypeDescriptorContext
context
The context. |
System.Type
sourceType
Type of the source. |
Returns
System.Boolean
|
ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)
Converts from.
Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
System.ComponentModel.ITypeDescriptorContext
context
The context. |
System.Globalization.CultureInfo
culture
The culture. |
System.Object
value
The value. |
Returns
System.Object
|