ComponentOne FlexPivot for WinForms
C1.Win.C1FlexGrid.4.8 Assembly / 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.

In This Topic
    AddNode(NodeTypeEnum,Object) Method
    In This Topic
    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