DataControlBase.SelectedItemChanged Event

Occurs after grid's selection has been changed.

Namespace: DevExpress.Xpf.Grid

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

Declaration

public event SelectedItemChangedEventHandler SelectedItemChanged
Public Event SelectedItemChanged As SelectedItemChangedEventHandler

Event Data

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

Remarks

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