Skip to main content

GridView.SelectCell(GridCell) Method

Selects the specified cell.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v22.2.dll

NuGet Package: DevExpress.Win.Grid


public void SelectCell(
    GridCell cell


Name Type Description
cell GridCell

A GridCell object which represents the grid cell.


Use the SelectCell method to select individual cells.

The SelectCell method does nothing if multiple cell selection (block selection) is disabled. To ensure that block selection is allowed use the GridView.IsCellSelect property. To unselect a cell use the GridView.UnselectCell method.

After the selection has been changed, the ColumnView.SelectionChanged event is raised.

See Also