Skip to main content

PivotSerializationOptions.AddNewFields Attached Property

Gets or sets whether the fields 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 fields that currently exist in the PivotGrid but do not exist in the layout being restored; false to destroy these fields.

#Remarks

This option affects how the PivotGrid's layout is restored. If the AddNewFields property is set to true, the fields that exist in the current layout but do not exist in the layout being restored, will be retained. Otherwise, these fields will be destroyed.

To learn more, see Save and Restore Layout.

See Also