[]
        
(Showing Draft Content)

C1.Win.FlexGrid.Node.AddNode

AddNode Method

AddNode(NodeTypeEnum, object, object, Image, bool)

Creates a node row at a specified position relative to this node.

Declaration
public Node AddNode(NodeTypeEnum position, object data, object key, Image img, bool collapsed = false)
Parameters
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.

Returns
Type Description
Node

A reference to the new Node added to the grid.

AddNode(NodeTypeEnum, object, bool)

Creates a node row at a specified position relative to this node.

Declaration
public Node AddNode(NodeTypeEnum position, object data, bool collapsed = false)
Parameters
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.

Returns
Type Description
Node

A reference to the new Node added to the grid.