Skip to main content

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; }

#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