New to Telerik UI for WPFStart a free 30-day trial

The class converts DateTime values to their string representation using the CurrentUICulture.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.GanttView.dll

Syntax:

C#
public class DateTimeToCurrentUICultureStringConverter : IValueConverter

Inheritance: objectDateTimeToCurrentUICultureStringConverter

Implements: IValueConverter

Constructors

C#
public DateTimeToCurrentUICultureStringConverter()

Methods

Represents the converter that turns a DateTime values to the appropriate UI Culture set in your application.

C#
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters:valueobjecttargetTypeTypeparameterobjectcultureCultureInfoReturns:

object

C#
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters:valueobjecttargetTypeTypeparameterobjectcultureCultureInfoReturns:

object