Class DateTimeToCurrentUICultureStringConverter
The class converts DateTime values to their string representation using the System.Globalization.CultureInfo.CurrentUICulture.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.GanttView.dll
Syntax
public class DateTimeToCurrentUICultureStringConverter : Object, IValueConverter
Constructors
DateTimeToCurrentUICultureStringConverter()
Declaration
public DateTimeToCurrentUICultureStringConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Represents the converter that turns a DateTime values to the appropriate UI Culture set in your application.
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
|