GoDiagram Web Reference
PortObject Property

Gets or sets the GoObject that may stand in for this port.
Syntax
'Declaration
 
<DescriptionAttribute("The GoObject that may take this port's place and appearance or shape.")>
Public Overridable Property PortObject As GoObject
[DescriptionAttribute("The GoObject that may take this port's place and appearance or shape.")]
public virtual GoObject PortObject {get; set;}

Property Value

The initial value is null.
Remarks
When painting this port, if the Style is GoPortStyle.Object, then the painting is delegated to the value of this property, which should be an object not owned by any layer or group. GetNearestIntersectionPoint delegates to the value of this property when the Style is not GoPortStyle.Object and the port object does belong to a layer. The value must not be set to another port. If the value changes, the setter will also call LinksOnPortChanged to notify all connected links about the change.
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

GoPort Class
GoPort Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback