Skip to main content

PivotSerializationOptions.RemoveOldFields Attached Property

Gets or sets whether the fields that exist in a layout when it is restored, but do not currently exist in the PivotGrid, should be discarded.

Namespace: DevExpress.Xpf.PivotGrid

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

#Declaration

#Returns

Type Description
Boolean

true to discard the fields that exist in the layout being restored but do not currently exist in the PivotGrid; otherwise, false.

#Remarks

The RemoveOldFields option affects how the PivotGrid's layout is restored. If it is set to true, the fields that exist in the layout being loaded, but do not exist in the pivot grid, will not be re-created. Otherwise, these fields will be added to the PivotGrid.

To learn more, see Save and Restore Layout.

See Also