Skip to main content

PivotGridOptionsSelection.MaxWidth Property

Gets the maximum number of columns that can be selected simultaneously.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v24.2.Core.dll

Declaration

[DefaultValue(-1)]
public int MaxWidth { get; set; }

Property Value

Type Default Description
Int32 -1

An integer value that specifies the maximum number of columns that can be selected simultaneously. -1 if any number of columns can be selected.

Property Paths

You can access this nested property as listed below:

Object Type Path to MaxWidth
PivotGridControl
.OptionsSelection .MaxWidth

Remarks

When you select a row by clicking its header, PivotGridControl selects the MaxWidth leftmost cells.

To specify the maximum number of rows that can be selected simultaneously, use the PivotGridOptionsSelection.MaxHeight property.

See Also