Back to Devexpress

PivotGridOptionsLayout.ResetOptions Property

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridoptionslayout-1a5ada58.md

latest3.6 KB
Original Source

PivotGridOptionsLayout.ResetOptions Property

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

Declaration

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

Property Value

TypeDefaultDescription
PivotGridResetOptionsOptionsDataFieldOptionsPrint

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

|

Available values:

Show 15 items

NameDescription
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.

|

Property Paths

You can access this nested property as listed below:

LibraryObject TypePath to ResetOptions
WinForms ControlsPivotGridControl

.OptionsLayout .ResetOptions

| | .NET Reporting Tools | 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

PivotGridOptionsLayout Class

PivotGridOptionsLayout Members

DevExpress.XtraPivotGrid Namespace