Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxPivotGridViewDataSelection.Add(TRect) Method

Adds a cell region to the current selection.

#Declaration

Delphi
procedure Add(const ARegion: TRect); virtual;

#Parameters

Name Type
ARegion TRect

#Remarks

This method appends the region passed as the ARegion parameter to the Regions collection.

Note

If the Regions collection already contains the specified region, it’s not added to the collection. If exact matches aren’t found, the specified region is added to the collection.

To programmatically add the (0, 0) data cell to the current selection, call the Add method as shown below:

PivotGrid.ViewData.Selection.Add(Rect(0, 0, 0, 0));
See Also