DataControlBase.SelectedItemChanged Event

Occurs after grid’s selection has been changed.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v21.1.Core.dll


public event SelectedItemChangedEventHandler SelectedItemChanged

Event Data

The SelectedItemChanged event's data class is DevExpress.Xpf.Grid.SelectedItemChangedEventArgs.


Each time the grid’s selection is changed, the SelectedItemChanged event is raised. The event parameter’s GridSelectionChangedEventArgs.Action property indicates how the grid’s selection has been changed. The GridSelectionChangedEventArgs.ControllerRow property returns the handle of a data row whose selected state has been changed.

The SelectedItemChanged event isn’t fired if the TableView.MultiSelectMode property is set to TableViewSelectMode.None.

To learn more, see Multiple Row Selection.

See Also