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

GridControl.SelectedDataObject Property

Returns an object that specifies a data source record to which a data row currently selected in the grid corresponds. This is a bindable property.

Namespace: DevExpress.Mobile.DataGrid

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

Declaration

public object SelectedDataObject { get; set; }
Public Property SelectedDataObject As Object

Property Value

Type Description
Object

An object specifying an individual record of a data source bound to the grid.

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.

To obtain a handle of the grid's selected data row, use the GridControl.SelectedRowHandle property. After the grid's selection is changed, the GridControl.SelectionChanged event occurs.

See Also