ComponentOne FlexGrid for WinForms
AddNode(NodeTypeEnum,Object) Method

C1.Win.C1FlexGrid Namespace > Node Class > AddNode Method : AddNode(NodeTypeEnum,Object) Method
A value from the NodeTypeEnum enumeration that specifies where the new node will be added with respect to this node (e.g. Child, Sibling).
Value of the Data property for the new node.
Creates a node row at a specified position relative to this node.
Syntax
'Declaration
 
Public Overloads Function AddNode( _
   ByVal position As NodeTypeEnum, _
   ByVal data As Object _
) As Node
public Node AddNode( 
   NodeTypeEnum position,
   object data
)

Parameters

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).
data
Value of the Data property for the new node.

Return Value

A reference to the new Node added to the grid.
See Also

Reference

Node Class
Node Members
Overload List