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’s restored, should be retained. This is an attached property.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v21.1.dll

Declaration

Returns

Type Description
Boolean

true to retain the fields that currently exist in the PivotGrid but don’t 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