menu

UWP

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

    Show / Hide Table of Contents

    Class ObjectToTypeConverter

    Represents the class to convert the object to specified type.

    Inheritance
    System.Object
    ObjectToTypeConverter
    Implements
    Windows.UI.Xaml.Data.IValueConverter
    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.UWP.dll
    Syntax
    public class ObjectToTypeConverter : Object, IValueConverter

    Constructors

    ObjectToTypeConverter()

    Declaration
    public ObjectToTypeConverter()

    Methods

    Convert(Object, Type, Object, String)

    Converts a value.

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

    The value produced by the binding source.

    System.Type targetType

    The type to convert to.

    System.Object parameter

    The converter parameter to use.

    System.String language

    The culture to use in the converter.

    Returns
    Type Description
    System.Object

    A converted value.

    ConvertBack(Object, Type, Object, String)

    Converts a value.

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

    The value that is produced by the binding target.

    System.Type targetType

    The type to convert to.

    System.Object parameter

    The converter parameter to use.

    System.String language

    The culture to use in the converter.

    Returns
    Type
    System.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