Class TimeSpanConverter
Inheritance
System.Object
TimeSpanConverter
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Input.dll
Syntax
public class TimeSpanConverter : TypeConverter
Constructors
TimeSpanConverter()
Declaration
public TimeSpanConverter()
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 the specified value to the type of this converter.
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
|