VGridControlBase.SelectCell(Int32, String) Method

Adds a cell to the current selection in multiple cell selection mode (MultiSelectMode.CellSelect).

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v20.1.dll

Declaration

public void SelectCell(
    int dataSourceRecordIndex,
    string fieldName
)
Public Sub SelectCell(
    dataSourceRecordIndex As Integer,
    fieldName As String
)

Parameters

Name Type Description
dataSourceRecordIndex Int32

A record's index in the bound data source.

fieldName String

A string that identifies a row's field name.

Remarks

See the VGridOptionsSelectionAndFocus.MultiSelect topic to learn more.

See Also