property XMLGrid.ExpandOnKeys as Boolean
Specifies a value that indicates whether the control expands or collapses a node when user presses arrow keys.

TypeDescription
Boolean A boolean expression that indicates whether the control expands or collapses a node when user presses arrow keys. 
Use the ExpandOnKeys property to specify whether the control expands or collapses a node when user presses arrow keys. By default, the ExpandOnKeys property is True. Use the ExpandOnDblClk property to specify whether the control expands or collapses a node when user dbl clicks a node.  The ExpandOnSearch property specifies whether the control expands nodes when incremental searching is on ( AutoSearch property is different than 0 ) and user types characters when the control has the focus.