Skip to content

Nodify_Events_PendingConnectionEventArgs

miroiu edited this page Dec 23, 2024 · 1 revision

PendingConnectionEventArgs Class

Namespace: Nodify.Events

Assembly: Nodify

Inheritance: ObjectEventArgsRoutedEventArgsPendingConnectionEventArgs

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

Point

Canceled

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

public bool Canceled { get; set; }  

Property Value

Boolean

OffsetX

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

public double OffsetX { get; set; }  

Property Value

Double

OffsetY

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

public double OffsetY { get; set; }  

Property Value

Double

SourceConnector

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

public object SourceConnector { get; set; }  

Property Value

Object

TargetConnector

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

public object TargetConnector { get; set; }  

Property Value

Object

Methods

InvokeEventHandler(Delegate, Object)

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

Parameters

genericHandler Delegate

genericTarget Object

Clone this wiki locally