Skip to main content

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

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

Declaration

[TypeConverter(typeof(BooleanTypeConverter))]
[XtraSerializableProperty]
public bool AddNewGroups { get; set; }

Property Value

Type Description
Boolean

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
.NET Reporting Tools 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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AddNewGroups property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also