[]
Creates a node row at a specified position relative to this node.
public Node AddNode(NodeTypeEnum position, object data, object key, Image img, bool collapsed = false)
| Type | Name | Description |
|---|---|---|
| NodeTypeEnum | position | A value from the NodeTypeEnum enumeration that specifies where the new node will be added with respect to this node (e.g. Child, Sibling). |
| object | data | Value of the Data property for the new node. |
| object | key | Value of the Key property for the new node. |
| Image | img | Value of the Image property for the new node. |
| bool | collapsed | Collapsed state of the added node. |
| Type | Description |
|---|---|
| Node | A reference to the new Node added to the grid. |
Creates a node row at a specified position relative to this node.
public Node AddNode(NodeTypeEnum position, object data, bool collapsed = false)
| Type | Name | Description |
|---|---|---|
| NodeTypeEnum | position | A value from the NodeTypeEnum enumeration that specifies where the new node will be added with respect to this node (e.g. Child, Sibling). |
| object | data | Value of the Data property for the new node. |
| bool | collapsed | Collapsed state of the added node. |
| Type | Description |
|---|---|
| Node | A reference to the new Node added to the grid. |