A specialized subclass of the ItemEventArgs<(Of <(<'T>)>)> class that is bound to the IPort type and carries additional IPortOwner information.

Namespace: yWorks.yFiles.UI.Model
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.4.0.0

Syntax

C#
public sealed class PortEventArgs : ItemEventArgs<IPort>
Visual Basic
Public NotInheritable Class PortEventArgs _ Inherits ItemEventArgs(Of IPort)

Remarks

Since for some events (PortRemoved) it is unclear what Owner the port had been attached to before the event, this event can be used to carry exactly that information.

Inheritance Hierarchy

System..::..Object
  System..::..EventArgs
    yWorks.Canvas.Model..::..ItemEventArgs<(Of <(<'IPort>)>)>
      yWorks.yFiles.UI.Model..::..PortEventArgs

See Also