Represents converter that converts double to TimeSpan using the given parameter.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Syntax:
public class DoubleToTimeSpanConverter : IValueConverter
Inheritance: objectDoubleToTimeSpanConverter
Implements:
Constructors
public DoubleToTimeSpanConverter()
Methods
Converts a double to TimeSpan using the given converter.
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Double value produced by the binding source.
targetTypeTypeThe type of the binding target property. This parameter is not used.
parameterobjectThe converter parameter to use. This parameter is not used.
cultureCultureInfoThe culture to use in the converter. This parameter is not used.
Returns:A converted TimeSpan value.
Converts a value.
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
The value that is produced by the binding target.
targetTypeTypeThe type to convert to.
parameterobjectThe converter parameter to use.
cultureCultureInfoThe culture to use in the converter.
Returns:A converted value.
This method is not implemented. Throws NotImplementedException.