The requested page is not available for the requested platform. You are viewing the content for Default platform.

DataControlBase.SelectCell(Int32, GridColumnBase) Method

Selects the cell.

Namespace: DevExpress.UI.Xaml.Grid

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

Declaration

public void SelectCell(
    int rowHandle,
    GridColumnBase column
)
Public Sub SelectCell(
    rowHandle As Integer,
    column As GridColumnBase
)

Parameters

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.

Remarks

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