C

EdgeEventArgs

A specialized subclass of the ItemEventArgs<T> class that is bound to the IEdge type and carries additional source and target port information.

Remarks

Since for some events (edge-ports-changed and edge-removed) it is unclear what sourcePort and targetPort the edge had been connected to before the event, this event can be used to carry exactly that information.

Members

Show:

Constructors

Initializes a new instance of the EdgeEventArgs class.

Parameters

edge: IEdge
The edge to assign to the item property.
sourcePort?: IPort
The source port the edge was connected to before the event happened.
targetPort?: IPort
The target port the edge was connected to before the event happened.
sourcePortOwner?: IPortOwner
The owner of the source port the edge was connected to before the event happened.
targetPortOwner?: IPortOwner
The owner of the target port the edge was connected to before the event happened.

Properties

Gets the item that is the subject of the event.
Gets the source port the edge was connected to before the event happened.
Gets the owner of the source port the edge was connected to before the event happened.
Gets the target port the edge was connected to before the event happened.
Gets the owner of the target port the edge was connected to before the event happened.