Events / PendingConnectionEventArgs
PendingConnectionEventArgs Class
Section titled “PendingConnectionEventArgs Class”Namespace: Nodify.Events
Assembly: Nodify
Inheritance: Object → EventArgs → RoutedEventArgs → PendingConnectionEventArgs
References: Connector, PendingConnection, PendingConnectionEventHandler
Provides data for PendingConnection related routed events.
public class PendingConnectionEventArgs : RoutedEventArgs
Constructors
Section titled “Constructors”PendingConnectionEventArgs(Object)
Section titled “PendingConnectionEventArgs(Object)”Initializes a new instance of the PendingConnectionEventArgs class using the specified PendingConnectionEventArgs.SourceConnector.
public PendingConnectionEventArgs(object sourceConnector);
Parameters
sourceConnector
Object: The FrameworkElement.DataContext of a related Connector.
Properties
Section titled “Properties”Anchor
Section titled “Anchor”Gets or sets the Connector.Anchor of the Connector that raised this event.
public Point Anchor { get; set; }
Property Value
Canceled
Section titled “Canceled”Gets or sets a value that indicates whether this PendingConnection was cancelled.
public bool Canceled { get; set; }
Property Value
OffsetX
Section titled “OffsetX”Gets or sets the distance from the PendingConnectionEventArgs.SourceConnector in the X axis.
public double OffsetX { get; set; }
Property Value
OffsetY
Section titled “OffsetY”Gets or sets the distance from the PendingConnectionEventArgs.SourceConnector in the Y axis.
public double OffsetY { get; set; }
Property Value
SourceConnector
Section titled “SourceConnector”Gets the FrameworkElement.DataContext of the Connector that started this PendingConnection.
public object SourceConnector { get; set; }
Property Value
TargetConnector
Section titled “TargetConnector”Gets or sets the FrameworkElement.DataContext of the target Connector when the PendingConnection is completed.
public object TargetConnector { get; set; }
Property Value
Methods
Section titled “Methods”InvokeEventHandler(Delegate, Object)
Section titled “InvokeEventHandler(Delegate, Object)”protected override void InvokeEventHandler(Delegate genericHandler, object genericTarget);
Parameters
genericHandler
Delegate
genericTarget
Object