[]
Gets or sets the grid's selection behavior.
public SelectionModeEnum SelectionMode { get; set; }
Public Property SelectionMode As SelectionModeEnum
In most selection modes, you can obtain the current selection using the Selection property.
When SelectionMode is set to ListBox, however, the selection may consist of a non-continuous range of rows. In this case, you can check the selection state of individual rows using the Highlight property or obtain a collection of selected rows using the Selected property.