Nevron .NET Vision
NPortCollection Class
Members 

The NPortCollection is a strongly typed collection containing NPort instances
Object Model
NPortCollection Class
Syntax
Remarks
The NPortCollection provides a two types of default ports: a default inward port and a default outward port.

The default inward port is controlled by the DefaultInwardPortUniqueId property. When set to Guid.Empty the the DefaultInwardPort property will return the first inward port in the collection. The default inward port is used in implicit connections when the inward port in the connection is not explicitly specified (e.g. in the FromShape, ToShape and OutwardShape property setters)

Similarly the default outward port is controlled by the DefaultOutwardPortUniqueId property. When set to Guid.Empty the the DefaultOutwardPort property will return the first outward port in the collection. The default outward port is used in implicit connections when the outward port in the connection is not explicitly specified (e.g. in the OutwardShape property setter)

Since the default ports are referenced by their ids, the NPortCollection class implements the INDiagramElementReferenceHolder interface.
Inheritance Hierarchy

System.Object
   Nevron.Diagram.NDiagramNode
      Nevron.Diagram.NDiagramElement
         Nevron.Diagram.NDiagramElementCollection
            Nevron.Diagram.NPortCollection

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

NPortCollection Members
Nevron.Diagram Namespace

 

 


©2021. Nevron Software LLC.

Send Feedback