SelectAllCells Method
Collapse the table of content
Expand the table of content

DataGrid.SelectAllCells Method ()

.NET Framework 4.6 and 4.5

Selects all the cells in the DataGrid.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public void SelectAllCells()

The default shortcut key for selecting all cells is CTRL+A.

.NET Framework
Available since 4.0
Return to top
© 2015 Microsoft