GoDigram for .NET Framework and .NET Core
Northwoods.Go.Layout Namespace / GoLayoutTree Class / AssignTreeNodeValues Method
In This Topic
    AssignTreeNodeValues Method
    In This Topic
    Assign final property values for a GoLayoutTreeNode.
    Syntax
    protected virtual void AssignTreeNodeValues( 
       GoLayoutTreeNode n
    )

    Parameters

    n
    Remarks

    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.

    See Also