Skip to main content
A newer version of this page is available. .

PivotGridOptionsLayout.AddNewGroups Property

Gets or sets whether to retain field groups that exist in the current control layout, but do not exist in the layout being restored.

Namespace: DevExpress.XtraPivotGrid

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

Declaration

[DefaultValue(false)]
public bool AddNewGroups { get; set; }

Property Value

Type Default Description
Boolean **false**

true to retain field groups that exist in the current control layout, but do not exist in the layout being restored; false to destroy such field groups.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to AddNewGroups
WinForms Controls PivotGridControl
.OptionsLayout.AddNewGroups
ASP.NET Controls and MVC Extensions ASPxPivotGrid
.OptionsLayout.AddNewGroups
PivotGridWebOptionsLayout
.FullLayout.AddNewGroups
MVCxPivotGrid
.OptionsLayout.AddNewGroups
Reporting XRPivotGrid
.OptionsLayout.AddNewGroups

Remarks

The AddNewGroups property affects how the control layout is restored. If it is set to true, the field groups that exist in the current control layout, but do not exist in the layout being restored will be retained. Otherwise, these field groups will be destroyed.

See Also