Skip to main content

DataControlBase.SelectedItemChanged Event

Occurs after grid's selection has been changed.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v14.2.Core.dll

#Declaration

public event SelectedItemChangedEventHandler SelectedItemChanged

#Event Data

The SelectedItemChanged event's handler receives an argument of the DevExpress.Xpf.Grid.SelectedItemChangedEventArgs type.

#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.

See Also