Back to Devexpress

GridControl.SelectedDataObject Property

xamarin-devexpress-dot-mobile-dot-datagrid-dot-gridcontrol-5e7ce122.md

latest1.7 KB
Original Source

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

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

Property Value

TypeDescription
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

GridControl Class

GridControl Members

DevExpress.Mobile.DataGrid Namespace