Skip to main content

GridControl.SelectedRowHandle Property

Gets or sets the selected row handle. This is a bindable property.

Namespace: DevExpress.Mobile.DataGrid

Assembly: DevExpress.Mobile.Grid.v18.2.dll

#Declaration

public int SelectedRowHandle { get; set; }

#Property Value

Type Description
Int32

An integer value that specifies the row handle.

#Remarks

Important

This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.

When an end-user taps a data row in the grid, this row becomes selected. Use the SelectedRowHandle property to obtain or set a row currently selected in the grid. The GridControl.SelectedDataObject 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 GridControl.SelectionChanged event occurs.

See Also