TimeSpanConverter
Class
Converts a time-span string representation to a TimeSpan object.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.Input.dll
Syntax:
C#
public class TimeSpanConverter : TypeConverter
Inheritance: objectTypeConverterTimeSpanConverter
Inherited Members
Constructors
C#
public TimeSpanConverter()
Methods
Determines whether this instance [can convert from] the specified context.
C#
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
The context.
sourceTypeTypeType of the source.
Returns:true if this instance [can convert from] the specified context; otherwise, false.
Overrides:
Converts from the specified value to the type of this converter.
C#
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
The context.
cultureCultureInfoThe culture.
valueobjectThe value.
Returns:Overrides: