Transforms a tree into a tree layout.

Namespace: TreeLayoutHelper.TreeLayout
Assembly: TreeLayoutHelper (in TreeLayoutHelper.dll) Version: 1.1.0.0 (1.1.0.0)

Syntax

C#
public TreeLayoutModel<TNode> TransformTree(
	TNode treeRoot
)
Visual Basic
Public Function TransformTree ( _
	treeRoot As TNode _
) As TreeLayoutModel(Of TNode)
Visual C++
public:
TreeLayoutModel<TNode>^ TransformTree(
	TNode treeRoot
)
J#
public TreeLayoutModel<TNode> TransformTree(
	TNode treeRoot
)
JScript
public function TransformTree(
	treeRoot : TNode
) : TreeLayoutModel<TNode>
JavaScript
function TransformTree(treeRoot);

Parameters

treeRoot
Type: TNode
The root node of the tree.

Return Value

The resulting tree layout.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptiontreeRoot is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also