# StoreLayoutMode Enum | WPF Controls | DevExpress Documentation

# StoreLayoutMode Enum

Lists options that specify which settings should be saved when saving the PivotGrid’s layout.

**Namespace**: [DevExpress.Xpf.PivotGrid](/WPF/DevExpress.Xpf.PivotGrid)

        **Assembly**:
        DevExpress.Xpf.PivotGrid.v26.1.dll

## Declaration

- C#
- VB.NET

                        <section id="tabpanel_syntax_tabid_DevExpress.Xpf.PivotGrid.StoreLayoutMode-csharp" role="tabpanel" data-tab="tabid-csharp" class="tab-group__tab-content tab-group__tab-content--code" style="display: block">
                            <pre><code class="lang-csharp hljs">public enum StoreLayoutMode</code></pre>
                        </section>
                        <section id="tabpanel_syntax_tabid_DevExpress.Xpf.PivotGrid.StoreLayoutMode-vb" role="tabpanel" data-tab="tabid-vb" class="tab-group__tab-content tab-group__tab-content--code" style="display: none">
                            <pre><code class="lang-vb hljs">Public Enum StoreLayoutMode</code></pre>
                        </section>

## Members

| Name | Description |
| --- | --- |
| `Appearance` | The appearance settings are saved\restored when saving\restoring the DXPivotGrid’s layout. |
| `DataSettings` | The data settings are saved\restored when saving\restoring the DXPivotGrid’s layout. |
| `VisualOptions` | The visual settings are saved\restored when saving\restoring the DXPivotGrid’s layout. |
| `Layout` | The layout settings are saved\restored when saving\restoring the DXPivotGrid’s layout. |
| `PrintSettings` | The printing settings are saved\restored when saving\restoring the DXPivotGrid’s layout. |
| `AllOptions` | All properties of the DXPivotGrid, marked with the **DevExpress.Utils.Serializing.XtraSerializableProperty** attribute, are saved\restored when saving\restoring the DXPivotGrid’s layout. |

## Remarks

The values listed by this enumeration are used to set the [PivotSerializationOptions.StoreLayoutMode](/WPF/DevExpress.Xpf.PivotGrid.PivotSerializationOptions.StoreLayoutMode) property’s value.

The `StoreLayoutMode` property allows you to save or restore the layout with the specified settings. The default setting is `StoreLayoutMode.AllOptions`. This setting include:

- Visibility state, position and size of the fields.
- Data settings (grouping, sorting, filtering settings and summaries).
- Appearance settings and format rules.
- The field’s data format for exporting.

See Also

[DevExpress.Xpf.PivotGrid Namespace](/WPF/DevExpress.Xpf.PivotGrid)