wpf-7520-controls-and-libraries-data-grid-end-user-capabilities-selecting-rows.md
Read Tutorial: Select Rows and Cells in Code
End users can use the navigation keys and mouse to select individual data items within the GridControl.
To select all visible data items:
Ctrl + A.Note
Check that the DataViewBase.NavigationStyle and DataControlBase.SelectionMode properties are not set to None.
Refer to the Row Selection topic for information on multiple row selection modes.
Hold Ctrl and click multiple rows to select/unselect them:
Click the initial row, hold Shift, and click the last row of the range:
Hold Ctrl, focus a row with the keyboard, and press Space to select/unselect it:
Drag the mouse along the Row Indicator Panel to select a range of rows (to enable this behavior, set the TableView.UseIndicatorForSelection / TreeListView.UseIndicatorForSelection property to true ):
Click a row to select/unselect it:
Focus a row with the keyboard and press Space to select/unselect it:
Refer to the following help topic for more information: Multiple Cell Selection Mode.
Hold Ctrl and click multiple cells to select/unselect them:
Select the initial cell, hold Shift, and use the mouse or navigation keys to select the last cell of the range:
Hold Ctrl, focus a cell with the keyboard, and press Space to select/unselect it:
Hold the left mouse button and drag the pointer to select a range of cells (also, you can use the Selection Rectangle):
See Also