A specialized subclass of the ItemEventArgs<T> class that is bound to the IEdge type and carries additional source and target port information.
Inheritance Hierarchy
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.
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 item that is the subject of the event.
Gets the source port the edge was connected to before the event happened.
Gets the source port the edge was connected to before the event happened.
readonlyfinal
Property Value
The old source port.
See Also
Developer's Guide
Gets the owner of 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.
readonlyfinal
Property Value
The owner of the old source port.
See Also
Developer's Guide
Gets the target port the edge was connected to before the event happened.
Gets the target port the edge was connected to before the event happened.
readonlyfinal
Property Value
The old target port.
See Also
Developer's Guide
Gets the owner of 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.
readonlyfinal
Property Value
The owner of the old target port.
See Also
Developer's Guide