Skip to main content

GridControl.SelectionChanged Event

Occurs after grid’s selection is changed.

Namespace: DevExpress.WinUI.Grid

Assembly: DevExpress.WinUI.Grid.v23.2.dll

NuGet Package: DevExpress.WinUI

Declaration

public event GridSelectionChangedEventHandler SelectionChanged

Event Data

The SelectionChanged event's data class is GridSelectionChangedEventArgs. The following properties provide information specific to this event:

Property Description
Action Gets an action that specifies how the grid’s selection is changed.
ControllerRow Gets a handle of the row that is added or removed from the GridControl‘s selection.
Source Gets the control that raised the event.

Remarks

The GridControl raises the SelectionChanged event each time a row selected state changes. The GridSelectionChangedEventArgs.Action property indicates how the grid’s selection is changed. The GridSelectionChangedEventArgs.ControllerRow property returns the handle of a data row whose selected state is changed.

The SelectionChanged event is not occur if the GridControl’s DataControlBase.SelectionMode is set to MultiSelectMode.None.

See Also