WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class EndControlPointToBooleanConverter - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class EndControlPointToBooleanConverter

    Represents the converter that converts the ControlPointType enumeration values to boolean, if the Diagram Thumb's ControlPointType is SourcePoint or TargetPoint.

    Inheritance
    System.Object
    EndControlPointToBooleanConverter
    Implements
    System.Windows.Data.IValueConverter
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.UI.Xaml.Diagram.Utility
    Assembly: Syncfusion.SfDiagram.WPF.dll
    Syntax
    public class EndControlPointToBooleanConverter : IValueConverter

    Constructors

    EndControlPointToBooleanConverter()

    Declaration
    public EndControlPointToBooleanConverter()

    Methods

    Convert(Object, Type, Object, CultureInfo)

    To convert the ControlPointType enumerationeration values to boolean.

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

    Gets ControlPointType value.

    System.Type targetType

    Gets target type value.

    System.Object parameter

    Gets object parameter value.

    System.Globalization.CultureInfo culture

    Gets culture info value.

    Returns
    Type Description
    System.Object

    Returns true, if the Diagram Thumb's ControlPointType is SourcePoint or TargetPoint; Otherwise retuns false.

    ConvertBack(Object, Type, Object, CultureInfo)

    To convert the boolean value into ControlPointType enumerationeration values.

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

    Gets ControlPointType value.

    System.Type targetType

    Gets target type value.

    System.Object parameter

    Gets object parameter value.

    System.Globalization.CultureInfo culture

    Gets culture info value.

    Returns
    Type Description
    System.Object

    Throws exception.

    Implements

    System.Windows.Data.IValueConverter
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved