menu

UWP

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

    Show / Hide Table of Contents

    Class GridLengthToDoubleConverter

    Represnets a convertion of various scale of grid length values into double type values.

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

    Constructors

    GridLengthToDoubleConverter()

    Declaration
    public GridLengthToDoubleConverter()

    Methods

    Convert(Object, Type, Object, String)

    Method to convert double value as grid scale measurmets.

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

    Gets double value.

    System.Type targetType

    Gets target type of value.

    System.Object parameter

    Gets object parameter value.

    System.String culture

    Gets culture info value.

    Returns
    Type
    System.Object

    ConvertBack(Object, Type, Object, String)

    To convert grid scale measurmets to double value.

    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

    Windows.UI.Xaml.Data.IValueConverter

    Extension Methods

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