AllowSelection Property

Returns or sets whether the user can select ranges of cells with the mouse and keyboard.


Public Property AllowSelection As Boolean

Applies To

Grid Object

Data Type



Set this property to False to prevent users from extending the selection by clicking and dragging or using the shift plus cursor keys. In this case, clicking and dragging the mouse will move the current cell, but will not extend the selection.