Skip to main content

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 is restored, should be retained.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v14.2.dll

#Declaration

#Returns

Type Description
Boolean

true to retain the groups that currently exist in the PivotGrid but do not 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.

See Also