PivotSerializationOptions.AddNewGroups Attached Property
Gets or sets whether the groups that currently exist in the PivotGrid, but do not exist in a layout when it’s restored, should be retained. This is an attached property.
Namespace: DevExpress.Xpf.PivotGrid
Assembly: DevExpress.Xpf.PivotGrid.v20.1.dll
NuGet Packages: DevExpress.WindowsDesktop.Wpf.PivotGrid, DevExpress.Wpf.PivotGrid
Declaration
Returns
Type | Description |
---|---|
Boolean | true to retain the groups that currently exist in the PivotGrid but don’t exist in the layout being restored; false to destroy these groups. |
Remarks
This option affects how the PivotGrid’s layout is restored. If the AddNewGroups property is set to true, the groups that exist in the current layout but do not exist in the layout being restored, will be retained. Otherwise, these groups will be destroyed.
To learn more, see Save and Restore Layout.