GridView.SelectRow(Int32) Method
Selects the specified row.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v17.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
rowHandle | Int32 | An integer value which specifies the handle of the row to select. |
Remarks
The SelectRow method selects the specified row and adds it to the current selection. If multiple selection is disabled (the ColumnViewOptionsSelection.MultiSelect option is set to false) the SelectRow method does nothing.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the SelectRow(Int32) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.