GoDiagram Web Reference
Port Property (GoBasicNode)

Gets or sets the GoPort for this node.
Syntax
'Declaration
 
<TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")>
Public Overridable Property Port As GoPort
[TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
public virtual GoPort Port {get; set;}

Property Value

The new value may be null, to simply remove the port. If non-null, the port should have the Selectable property set to false.
Remarks
Setting this property to a new port will also set that port's PortObject to be this node's Shape, if it didn't already have a PortObject. Instead of setting the port after creating a node, you may find it easier to override the CreatePort method.
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

GoBasicNode Class
GoBasicNode Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback