DataGridView.SelectionChanged Event
Occurs after the selected row has been changed in the grid.
Namespace: DevExpress.Maui.DataGrid
Assembly: DevExpress.Maui.DataGrid.dll
NuGet Package: DevExpress.Maui.DataGrid
Declaration
public event EventHandler<SelectionChangedEventArgs> SelectionChanged
Event Data
The SelectionChanged event's data class is SelectionChangedEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Item | Gets the underlying data object of the selected item. |
RowHandle | Returns the handle of the row to which the selected item belongs. |
Remarks
When a user taps a data row in the grid, this row becomes selected.
To prevent users from selecting rows, set the SelectionMode property to SelectionMode.None.
See Also