PivotGridControl.SelectMode Property

Gets or sets the selection mode.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v20.1.dll


public SelectMode SelectMode { get; set; }
Public Property SelectMode As SelectMode

Property Value

Type Description

A SelectMode enumeration value that specifies the selection mode.


If the SelectMode property is set to 'SolidSelection', an end-user can select a continuous block of cells. To obtain selected cells, use the PivotGridControl.Selection property. The Left and Top members of the PivotGridControl.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 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.


To disable multiple cell selection, set the SelectMode property to 'None'.

See Also