GoDiagram Web Reference
LinksRedirectedToSubGraphPort Property

Gets or sets whether links connected to ports that are inside collapsed GoSubGraphs appear to be connected to the subgraph's Port.
Syntax
'Declaration
 
Public Shared Property LinksRedirectedToSubGraphPort As Boolean
public static bool LinksRedirectedToSubGraphPort {get; set;}

Property Value

This value is initially false, providing compatibility with older versions of GoDiagram.
Remarks

This property affects the following methods: GetFromLinkDir, GetToLinkDir, GetFromLinkPoint, GetToLinkPoint, and GetLinkPointFromPoint.

When this static/shared property is true, any link inside a collapsed GoSubGraph will appear to be redirected to the first visible collapsed parent subgraph, if that subgraph has a Port. Note that no structural changes are made to any ports or to any links -- only the point and direction at which links connect, so that they will now appear to be connected to the subgraph port. Also please note that by default GoSubGraph.CreatePort returns null/nothing, so a subgraph will not have a port unless you either override that method to return a new port or you assign the Port property.

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