property XMLGrid.SingleSel as Boolean
Specifies whether the control supports single or multiple selection.

TypeDescription
Boolean A boolean expression that indicates whether the control supports single or multiple selection. 
Use the SingleSel property to allow multiple selection. By default, the SingleSel property it True. Use the HideSelection property to specify whether the selection is hidden when control loses the focus. Use the FocusNode property to retrieve the focused node.  Use the SelectCount property to get the number of selected nodes. Use the SelectedNode property to retrieve the selected node giving its index in the selected nodes collection. Use the SelForeColor, SelForeColorChild, SelBackColor, SelBackColorChild properties to customize the colors for selected nodes. The control fires the SelectionChanged event when user changes the selection. Use the Selected property to select a node. The SelBackMode property specifies the way the control displays the selected nodes.

The following sample displays the list of selected nodes:

With XMLGrid1
    Dim i As Long
    For i = 0 To .SelectCount - 1
        Debug.Print .SelectedNode(i).Name
    Next
End With