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

DataGridView.SelectedRowHandle Property

Gets or sets the selected row handle.

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll

Declaration

public int SelectedRowHandle { get; set; }

Property Value

Type Description
Int32

The row handle.

Remarks

When a user taps a data row in the grid, this row becomes selected.

Grid Data Rows

Use the SelectedRowHandle property to obtain or set a row currently selected in the grid. The SelectedItem property returns an object that specifies a data source record to which the row selected in the grid corresponds. After the grid's selection is changed, the DataGridView.SelectionChanged event occurs.

To prevent users from selecting rows, set the SelectionMode property to SelectionMode.None.

See Also