Northwoods.Go.Layout Assembly > Northwoods.Go.Layout Namespace > GoLayoutTree Class : AssignTreeNodeValues Method |
'Declaration Protected Overridable Sub AssignTreeNodeValues( _ ByVal n As GoLayoutTreeNode _ )
protected virtual void AssignTreeNodeValues( GoLayoutTreeNode n )
This method is commonly overidden in order to provide tree layout properties for particular nodes. This method is called after values have been inherited from other GoLayoutTreeNodes, so you can examine and modify the values of related tree nodes.
However, when GoLayoutTreeNode.Alignment is BusBranching, SortTreeNodeChildren will be called before this method is called. In that case changing the GoLayoutTreeNode.Sorting or GoLayoutTreeNode.Comparer properties in this method will have no effect.
This method should not walk the tree, since it is called for each GoLayoutTreeNode in a depth-first manner starting at a root.
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