property Node.Position as Long
Specifies the position of the node within the nodes collection.

TypeDescription
Long A long expression that indicates the position of the node in the nodes collection.
Use the Position property to specify the node's position inside the nodes collection. Use the Visible property to hide a node. Use the Remove method to remove a node. Use the NodeHeight property to specify the height of the nodes. Use the FirstNode property to get the first node in the child nodes collection. Use the NextNode property to get the next sibling tree node. Use the NodeByPosition property to get a node giving its position. Use the FirstVisibleNode property to get the first visible node in the control's client area.

The following sample displays the list of visible nodes as they are displayed:

With XMLGrid1
    Dim n As EXMLGRIDLibCtl.Node, i As Long
    i = 0
    Set n = .NodeByPosition(i)
    While Not n Is Nothing
        Debug.Print n.Name
        i = i + 1
        Set n = .NodeByPosition(i)
    Wend
End With