PivotGridOptionsLayout.ResetOptions Property

Gets or sets which options are reset before loading the layout.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v20.1.Core.dll


[DefaultValue(PivotGridResetOptions.OptionsDataField | PivotGridResetOptions.OptionsPrint)]
public virtual PivotGridResetOptions ResetOptions { get; set; }
<DefaultValue(PivotGridResetOptions.OptionsDataField Or PivotGridResetOptions.OptionsPrint)>
Public Overridable Property ResetOptions As PivotGridResetOptions

Property Value

Type Default Description

OptionsDataField | OptionsPrint

A combination of PivotGridResetOptions flags, specifying which options are reset before loading the layout.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ResetOptions
WinForms Controls PivotGridControl
ASP.NET Controls and MVC Extensions ASPxPivotGrid
Reporting XRPivotGrid


When the layout is saved, only settings with non-default values are stored. When the layout is loaded, settings that had default values when the layout was saved (and were not stored), retain their old values. To restore the default values of these settings, they should be reset before loading the layout. Use the ResetOptions property to specify which settings should be reset.

By default, print and data fields options are reset.

See Also