property Nodes.ItemByPosition (Position as Long) as Node
Retrieves a node giving its position.

TypeDescription
Position as Long A Long expression that indicates the position of the node being requested. The Position expression is 0 based, where 0 indicates the first visible node.
Node A Node object that indicates the node at position
Use the ItemByPosition property to retrieve a node by its position. The Count property counts the number of nodes in the collection. The Name property indicates the name of the node, where the Value property specifies the node's value. The FirstNode property specifies the first child node. Use the NextNode property to specify the next child node. Use the ItemByPosition property to enumerate the root nodes as they are displayed. Use the Item property to retrieve a node giving its key or its index.

The following VB sample enumerates all nodes in the control as they are displayed ( including child nodes too ):

Private Sub enumerate(ByVal x As EXMLGRIDLibCtl.XMLGrid)
    With x.Nodes
        Dim i As Long
        For i = 0 To .Count - 1
            enumNodes .ItemByPosition(i)
        Next
    End With
End Sub

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