property Node.FirstNode as Node
Gets the first child tree node in the tree node collection.

TypeDescription
Node A Node object that indicates the first child node.
Use the FirstNode property to get the first child node. Use the NextNode property to get the next sibling node. Use the PrevNode property to get the previous sibling node. Use the Visible property to hide a node. Use the LastNode property to get the last child node. Use the NextVisibleNode property to get the next visible node. Use the PrevVisibleNode property to get the previous visible node. Use the FirstVisibleNode property to get the first visible node in the control's client area.

The following sample displays recursively all child nodes:

Private Sub scanRec(ByVal x As EXMLGRIDLibCtl.XMLGrid, ByVal n As EXMLGRIDLibCtl.Node)
    Dim c As EXMLGRIDLibCtl.Node
    Set c = n.FirstNode
    While Not c Is Nothing
        Debug.Print c.Name
        scanRec x, c
        Set c = c.NextNode
    Wend
End Sub