Skip to main content
A newer version of this page is available. .

PivotGridControl.CellSelectionChanged Event

Occurs when the cell selection is modified.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v20.2.dll

NuGet Package: DevExpress.Win.PivotGrid

Declaration

public event EventHandler CellSelectionChanged

Event Data

The CellSelectionChanged event's data class is EventArgs.

Remarks

This event fires when the cell selection is modified by an end-user or in code. The current selection can be obtained using the PivotGridCells.Selection property of the PivotGridControl.Cells object. This property can also be used to modify the cell selection.

The CellSelectionChanged event doesn’t occur when focus is moved to a new cell. To respond to a cell focus change, use the PivotGridControl.FocusedCellChanged event.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CellSelectionChanged event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also