3.9 KiB
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
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
Anchor
Gets or sets the Connector.Anchor of the Connector that raised this event.
public Point Anchor { get; set; }
Property Value
Canceled
Gets or sets a value that indicates whether this PendingConnection was cancelled.
public bool Canceled { get; set; }
Property Value
OffsetX
Gets or sets the distance from the PendingConnectionEventArgs.SourceConnector in the X axis.
public double OffsetX { get; set; }
Property Value
OffsetY
Gets or sets the distance from the PendingConnectionEventArgs.SourceConnector in the Y axis.
public double OffsetY { get; set; }
Property Value
SourceConnector
Gets the FrameworkElement.DataContext of the Connector that started this PendingConnection.
public object SourceConnector { get; set; }
Property Value
TargetConnector
Gets or sets the FrameworkElement.DataContext of the target Connector when the PendingConnection is completed.
public object TargetConnector { get; set; }
Property Value
Methods
InvokeEventHandler(Delegate, Object)
protected override void InvokeEventHandler(Delegate genericHandler, object genericTarget);
Parameters
genericHandler Delegate
genericTarget Object