Skip to main content
A newer version of this page is available. .

VGridControlBase.SelectCell(Int32, BaseRow, Int32) Method

Adds a cell to the current selection in multiple cell selection mode (MultiSelectMode.CellSelect). This overload allows you to address a certain cell within a MultiEditorRow.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v18.2.dll

Declaration

public void SelectCell(
    int dataSourceRecordIndex,
    BaseRow row,
    int cellIndex
)

Parameters

Name Type Description
dataSourceRecordIndex Int32

A record’s index in the bound data source.

row BaseRow

A MultiEditorRow object.

cellIndex Int32

The index of a cell within the specified MultiEditorRow.

Remarks

See the VGridOptionsSelectionAndFocus.MultiSelect topic to learn more.

See Also