Class ConnectorChangedEventArgs
Represents a struct that provides the data for ConnectorSourceChangedEvent event and ConnectorTargetChangedEvent.
Inheritance
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 |
---|
Cause |
Connector
Gets a connector value when it is changing.
Declaration
public object Connector { get; }
Property Value
Type |
---|
System.Object |
DragState
Gets the dragging state value of the Connector.
Declaration
public DragState DragState { get; }
Property Value
Type |
---|
DragState |
Group
Gets a value indicating the group value of the Connector.
Declaration
public object Group { get; }
Property Value
Type |
---|
System.Object |
Node
Gets a value indicating the node value of Connector.
Declaration
public object Node { get; }
Property Value
Type |
---|
System.Object |
Point
Gets the point value of Connector.
Declaration
public Point Point { get; }
Property Value
Type |
---|
Windows.Foundation.Point |
Port
Gets a port value of the Connector.
Declaration
public IPort Port { get; }
Property Value
Type |
---|
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. |