PivotGridOptionsLayout.ResetOptions Property

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

Namespace: DevExpress.XtraPivotGrid

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

Declaration

[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
PivotGridResetOptions

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
.OptionsLayout.ResetOptions
ASP.NET Controls and MVC Extensions ASPxPivotGrid
.OptionsLayout.ResetOptions
PivotGridWebOptionsLayout
.FullLayout.ResetOptions
PivotGridWebOptionsLayout
.DefaultLayout.ResetOptions
MVCxPivotGrid
.OptionsLayout.ResetOptions
Reporting XRPivotGrid
.OptionsLayout.ResetOptions

Remarks

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