corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridoptionslayout-1a5ada58.md
Gets or sets which options are reset before loading the layout.
Namespace : DevExpress.XtraPivotGrid
Assembly : DevExpress.PivotGrid.v25.2.Core.dll
NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
[DefaultValue(PivotGridResetOptions.OptionsDataField | PivotGridResetOptions.OptionsPrint)]
public virtual PivotGridResetOptions ResetOptions { get; set; }
<DefaultValue(PivotGridResetOptions.OptionsDataField Or PivotGridResetOptions.OptionsPrint)>
Public Overridable Property ResetOptions As PivotGridResetOptions
| Type | Default | Description |
|---|---|---|
| PivotGridResetOptions | OptionsDataField | OptionsPrint |
A combination of PivotGridResetOptions flags, specifying which options are reset before loading the layout.
|
Available values:
Show 15 items
| Name | Description |
|---|---|
| None |
No options are reset.
| | OptionsBehavior |
Behavior options are reset.
| | OptionsChartDataSource |
Options related to the Chart control integration are reset.
| | OptionsCustomization |
Customization options are reset.
| | OptionsData |
Data options are reset.
| | OptionsDataField |
Options related to the presentation of data fields are reset.
| | OptionsFilterPopup |
Filter drop-down options are reset.
| | OptionsHint |
Hint options are reset.
| | OptionsMenu |
Menu options are reset.
| | OptionsOLAP |
OLAP options are reset.
| | OptionsPrint |
Print options are reset.
| | OptionsSelection |
Selection options are reset.
| | OptionsLoadingPanel |
Loading Panel options are reset.
| | OptionsLayout |
Reset options that specify how a control layout is stored to, and restored from a storage.
| | All |
All options are reset.
|
You can access this nested property as listed below:
| Library | Object Type | Path to ResetOptions |
|---|---|---|
| WinForms Controls | PivotGridControl |
.OptionsLayout .ResetOptions
| | .NET Reporting Tools | XRPivotGrid |
.OptionsLayout .ResetOptions
|
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