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.1.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

[XtraSerializableProperty]
public int MaxWidth { get; set; }

Property Value

Type Description
Int32

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