Adds a top-level node to the grid. The node data is managed by the grid.

Namespace:  Mindscape.WpfElements
Assembly:  Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: 3.0.0.0 (3.0.0.0)

Syntax

C#
public Node AddNode(
	string caption,
	Object value
)
Visual Basic (Declaration)
Public Function AddNode ( _
	caption As String, _
	value As Object _
) As Node

Parameters

caption
Type: System..::.String
The caption or name of the node.
value
Type: System..::.Object
The initial value of the node.

Return Value

The Node object added to the grid.

Remarks

The user will be able to edit the node value using the default editor for the type of value.

See Also