menu

WinUI

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DateTimeToStringConverter - WinUI API Reference | Syncfusion

    Show / Hide Table of Contents

    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, IValueConverter

    Constructors

    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved