GoDiagram Win Reference
SortTreeNodeChildren Method

Sort the GoLayoutTreeNode.Children of a node.
Syntax
'Declaration
 
Protected Overridable Sub SortTreeNodeChildren( _
   ByVal n As GoLayoutTreeNode _
) 
protected virtual void SortTreeNodeChildren( 
   GoLayoutTreeNode n
)

Parameters

n
Remarks

This method should not walk the tree, since it is called for each GoLayoutTreeNode in a breadth-first manner starting at a root.

However, if GoLayoutTreeNode.Alignment is BusBranching, this will be called before AssignTreeNodeValues. The "BusBranching" alignment depends on inheriting the GoLayoutTreeNode.Angle, which in turn depends on the sort order, hence sorting must be performed first. The difference is that when "BusBranching" the initialization pass has not yet finished, so informational properties have not yet been computed when this method is called.

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

GoLayoutTree Class
GoLayoutTree Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback