Skip to content

Events / PendingConnectionEventArgs

Namespace: Nodify.Events

Assembly: Nodify

Inheritance: ObjectEventArgsRoutedEventArgsPendingConnectionEventArgs

References: Connector, PendingConnection, PendingConnectionEventHandler

Provides data for PendingConnection related routed events.

public class PendingConnectionEventArgs : RoutedEventArgs

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.

Gets or sets the Connector.Anchor of the Connector that raised this event.

public Point Anchor { get; set; }

Property Value

Point

Gets or sets a value that indicates whether this PendingConnection was cancelled.

public bool Canceled { get; set; }

Property Value

Boolean

Gets or sets the distance from the PendingConnectionEventArgs.SourceConnector in the X axis.

public double OffsetX { get; set; }

Property Value

Double

Gets or sets the distance from the PendingConnectionEventArgs.SourceConnector in the Y axis.

public double OffsetY { get; set; }

Property Value

Double

Gets the FrameworkElement.DataContext of the Connector that started this PendingConnection.

public object SourceConnector { get; set; }

Property Value

Object

Gets or sets the FrameworkElement.DataContext of the target Connector when the PendingConnection is completed.

public object TargetConnector { get; set; }

Property Value

Object

protected override void InvokeEventHandler(Delegate genericHandler, object genericTarget);

Parameters

genericHandler Delegate

genericTarget Object