UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ConnectorChangedEventArgs

    Show / Hide Table of Contents

    Class ConnectorChangedEventArgs

    Represents a struct that provides the data for ConnectorSourceChangedEvent event and ConnectorTargetChangedEvent.

    Inheritance
    System.Object
    ConnectorChangedEventArgs
    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.UWP.dll
    Syntax
    public sealed class ConnectorChangedEventArgs : ValueType

    Properties

    Cause

    Gets or sets a value indicating the cause of the Connector.

    Declaration
    public Cause Cause { get; set; }
    Property Value
    Type Description
    Cause

    Connector

    Gets a connector value when it is changing.

    Declaration
    public object Connector { get; }
    Property Value
    Type Description
    System.Object

    DragState

    Gets the dragging state value of the Connector.

    Declaration
    public DragState DragState { get; }
    Property Value
    Type Description
    DragState

    Group

    Gets a value indicating the group value of the Connector.

    Declaration
    public object Group { get; }
    Property Value
    Type Description
    System.Object

    Node

    Gets a value indicating the node value of Connector.

    Declaration
    public object Node { get; }
    Property Value
    Type Description
    System.Object

    Point

    Gets the point value of Connector.

    Declaration
    public Point Point { get; }
    Property Value
    Type Description
    Windows.Foundation.Point

    Port

    Gets a port value of the Connector.

    Declaration
    public IPort Port { get; }
    Property Value
    Type Description
    IPort

    Methods

    Equals(Object)

    Overridden to compare the given object with the ConnectorChangedEventArgs.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj

    The object which needs to be compared.

    Returns
    Type Description
    System.Boolean

    Returns true if both objects are equal, otherwise return false.

    GetHashCode()

    Overriden to provide the default hash function.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    Returns the hash code for the current object.

    Operators

    Equality(ConnectorChangedEventArgs, ConnectorChangedEventArgs)

    Checks the given connector changed event arguments values are equal.

    Declaration
    public static bool operator ==(ConnectorChangedEventArgs d1, ConnectorChangedEventArgs d2)
    Parameters
    Type Name Description
    ConnectorChangedEventArgs d1

    The ConnectorChangedEventArgs value which needs to be compare.

    ConnectorChangedEventArgs d2

    The ConnectorChangedEventArgs value which needs to be compare with another connector changed event arguments value.

    Returns
    Type Description
    System.Boolean

    Returns true if the both given arguments values are same; Otherwise return false.

    Inequality(ConnectorChangedEventArgs, ConnectorChangedEventArgs)

    Checks the given connector changed event arguments values are not equal.

    Declaration
    public static bool operator !=(ConnectorChangedEventArgs d1, ConnectorChangedEventArgs d2)
    Parameters
    Type Name Description
    ConnectorChangedEventArgs d1

    The ConnectorChangedEventArgs value which needs to be compare.

    ConnectorChangedEventArgs d2

    The ConnectorChangedEventArgs value which needs to be compare with another connector changed event arguments value.

    Returns
    Type Description
    System.Boolean

    Returns true if the both given arguments values are not equal; Otherwise return false.

    Extension Methods

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