menu

UWP

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

    Show / Hide Table of Contents

    Class DateFormatConverter

    Represents a converter for date format.

    Inheritance
    System.Object
    DateFormatConverter
    Implements
    Windows.UI.Xaml.Data.IValueConverter
    Namespace: Syncfusion.UI.Xaml.Controls.Input
    Assembly: Syncfusion.SfInput.UWP.dll
    Syntax
    public class DateFormatConverter : Object, IValueConverter

    Constructors

    DateFormatConverter()

    Declaration
    public DateFormatConverter()

    Methods

    Convert(Object, Type, Object, String)

    Converts the value.

    Declaration
    public object Convert(object value, Type targetType, object parameter, string language)
    Parameters
    Type Name Description
    System.Object value

    input value

    System.Type targetType

    target type

    System.Object parameter

    input parameter

    System.String language

    input language

    Returns
    Type Description
    System.Object

    converted value as object

    ConvertBack(Object, Type, Object, String)

    Converts the value back into the object

    Declaration
    public object ConvertBack(object value, Type targetType, object parameter, string language)
    Parameters
    Type Name Description
    System.Object value

    input value

    System.Type targetType

    target type

    System.Object parameter

    input parameter

    System.String language

    input language

    Returns
    Type Description
    System.Object

    converted value as object

    Implements

    Windows.UI.Xaml.Data.IValueConverter

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved