Class TimeOnlyToTimeSpanConverter
Represents an Microsoft.Maui.Controls.IValueConverter that converts System.TimeOnly to System.TimeSpan and converts back System.TimeSpan to System.TimeOnly.
Inheritance
System.Object
TimeOnlyToTimeSpanConverter
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll
Syntax
public class TimeOnlyToTimeSpanConverter : Object, IValueConverter
Constructors
TimeOnlyToTimeSpanConverter()
Declaration
public TimeOnlyToTimeSpanConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
|
System.Type
targetType
|
System.Object
parameter
|
System.Globalization.CultureInfo
culture
|
Returns
System.Object
|
ConvertBack(Object, Type, Object, CultureInfo)
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
|
System.Type
targetType
|
System.Object
parameter
|
System.Globalization.CultureInfo
culture
|
Returns
System.Object
|