Skip to main content

PivotGridOptionsLayout.ResetOptions Property

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

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v24.2.Core.dll

Declaration

[DefaultValue(PivotGridResetOptions.OptionsDataField | PivotGridResetOptions.OptionsPrint)]
public virtual PivotGridResetOptions ResetOptions { get; set; }

Property Value

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.

Property Paths

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

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