Class TicksToDateTimeConverter
Represents converter that converts a System.Int64 value or an exponential string value representing the DateTime ticks to a System.DateTime object.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
public class TicksToDateTimeConverter : Object, IValueConverter
Constructors
TicksToDateTimeConverter()
Declaration
public TicksToDateTimeConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Converts a System.Int64 value or an exponential string value representing the DateTime ticks to a System.DateTime object.
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)
Converts back the System.DateTime object to a System.Int64 value representing the DateTime ticks.
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
|