PivotGridControl.Selection Property
Gets or sets the coordinates of the selected cells.
Namespace: DevExpress.Xpf.PivotGrid
Assembly: DevExpress.Xpf.PivotGrid.v14.2.dll
#Declaration
#Property Value
Type | Description |
---|---|
Rectangle | A Rectangle object which contains the coordinates of the selected cells. |
#Remarks
If the PivotGridControl.SelectMode property is set to 'SolidSelection', an end-user can select a continuous block of cells. The Left and Top members of the Selection property identify the column index and row index of the left-topmost selected cell. The Width and Height members specify the number of selected columns and rows, respectively.
If the PivotGridControl.SelectMode property is set to 'MultiSelection', a user can select several blocks of cells via the mouse with the Ctrl key pressed down. In this instance, to obtain selected cells, use the PivotGridControl.MultiSelection property.