Skip to main content

DataControlBase.SelectCell(Int32, GridColumnBase) Method

Selects the cell.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v21.2.dll


public void SelectCell(
    int rowHandle,
    GridColumnBase column


Name Type Description
rowHandle Int32

An integer value that specifies the handle of the row where the cell is located.

column GridColumnBase

A GridColumnBase object that represents the column which contains the cell.


Use the SelectCell method to select a cell, adding it to the existing selection (if any). A cell is located at the intersection of the specified row and column.

The SelectCell method does nothing if the DataControlBase.NavigationStyle property isn’t set to GridControlNavigationStyle.Cell and/or the DataControlBase.SelectionMode property isn’t set to MultiSelectMode.Cell.

To select multiple cells, use the DataControlBase.SelectCells method.

See Also