Class DateTimeToStringConverter
Represents a class that converts the date time to string.
Inheritance
System.Object
    DateTimeToStringConverter
  Implements
Microsoft.UI.Xaml.Data.IValueConverter
  Namespace: Syncfusion.UI.Xaml.Chat
Assembly: Syncfusion.Chat.WinUI.dll
Syntax
public class DateTimeToStringConverter : Object, IValueConverterConstructors
DateTimeToStringConverter()
Declaration
public DateTimeToStringConverter()Methods
Convert(Object, Type, Object, String)
Represents a class that converts the date time to string.
Declaration
public object Convert(object value, Type targetType, object parameter, string culture)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | value | |
| System.Type | targetType | |
| System.Object | parameter | |
| System.String | culture | 
Returns
| Type | 
|---|
| System.Object | 
ConvertBack(Object, Type, Object, String)
This converter does not supports reverse conversion.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, string culture)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | value | |
| System.Type | targetType | |
| System.Object | parameter | |
| System.String | culture | 
Returns
| Type | 
|---|
| System.Object | 
Implements
      Microsoft.UI.Xaml.Data.IValueConverter