menu

UWP

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

    Show / Hide Table of Contents

    Class LabelConverter

    Represents a class that is used to convert the numbers into string value.

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

    Constructors

    LabelConverter()

    Declaration
    public LabelConverter()

    Methods

    Convert(Object, Type, Object, String)

    To convert the given number value to its equivalent string value.

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

    The value which is going to convert as string.

    System.Type targetType

    The target type of the value.

    System.Object parameter

    The parameter value.

    System.String culture

    The culture data of the string.

    Returns
    Type Description
    System.Object

    Returns the string value.

    ConvertBack(Object, Type, Object, String)

    To return the given number value to its equivalent string value.

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

    The value which is going to convert as string.

    System.Type targetType

    The target type of the value.

    System.Object parameter

    The parameter value.

    System.String culture

    The culture data of the string.

    Returns
    Type Description
    System.Object

    Returns the object value.

    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