Adds a top-level node to the grid. The node data is managed by the grid.
Namespace:
Mindscape.WpfElementsAssembly: Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: 3.0.0.0 (3.0.0.0)
Syntax
C# |
---|
public Node AddNode( string caption, Object value, NodeEditor inPlaceEditor ) |
Visual Basic (Declaration) |
---|
Public Function AddNode ( _ caption As String, _ value As Object, _ inPlaceEditor As NodeEditor _ ) As Node |
Parameters
- caption
- Type: System..::.String
The caption or name of the node.
- value
- Type: System..::.Object
The initial value of the node.
- inPlaceEditor
- Type: Mindscape.WpfElements.WpfPropertyGrid..::.NodeEditor
The editor to be used for editing the value.
Return Value
The Node object added to the grid.
Remarks
The user will be able to edit the node value using the editor specified by
the inPlaceEditor parameter. This overrides any type editors specified in Editors
collection.