menu

UWP

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

    Show / Hide Table of Contents

    Class PathConverter

    Converter to handle boolean values based on shape path values.

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

    Constructors

    PathConverter()

    Declaration
    public PathConverter()

    Methods

    Convert(Object, Type, Object, String)

    To convert shape path values into boolean values.

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

    Gets object value to convert boolean.

    System.Type targetType

    Gets target type.

    System.Object parameter

    Gets object parameter.

    System.String language

    Gets culture info value.

    Returns
    Type Description
    System.Object

    Returns false, when objects are null; Otherwise retunrs true.

    ConvertBack(Object, Type, Object, String)

    To convert boolean values into shape path values.

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

    Gets object value to convert boolean.

    System.Type targetType

    Gets target type.

    System.Object parameter

    Gets object parameter.

    System.String language

    Gets culture info value.

    Returns
    Type Description
    System.Object

    Returns path 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