You can set the grid's selection mode behavior by setting the SelectionMode property. You can change how users interact with the grid, but setting the SelectionMode property to one of the following values:
Property | Description |
---|---|
None | The user cannot select any item. |
SingleCell | The user can select only one cell at a time. |
SingleRow | The user can select only one row at a time. |
SingleColumn | The user can select only one column at a time. |
SingleRange | The user can select only one cells range at a time. (A range is the rectangle delimited by two cells) |
MultiRow (Default) | The user can select multiple rows while holding down the corresponding modifier key. |
MultiColumn | The user can select multiple columns while holding down the corresponding modifier key. |
MultiRange | The user can select multiple cells ranges while holding down the corresponding modifier key. |
For more information about modifier keys and the MultiRow option, see the Multiple Row Selection topic.