Skip to main content

PivotGridWebOptionsLayout.DefaultLayout Property

Returns a PivotGridWebOptionsLayout object whose settings indicate that fields should be overridden when saving or restoring the control layout.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v24.2.dll

Declaration

public static PivotGridWebOptionsLayout DefaultLayout { get; }

Property Value

Type Description
PivotGridWebOptionsLayout

A PivotGridWebOptionsLayout object whose settings indicate that fields should be overridden when saving or restoring the control layout.

Property Paths

You can access this nested property as listed below:

Object Type Path to DefaultLayout
ASPxPivotGrid
.OptionsLayout .DefaultLayout
PivotGridWebOptionsLayout
.DefaultLayout .DefaultLayout
PivotGridWebOptionsLayout
.FullLayout .DefaultLayout

Remarks

The pivot grid allows you to select which options to save to (or restore from) a storage when saving (restoring) a layout. For this purpose, ASPxPivotGrid provides specific overloads of its LoadLayoutFrom… and SaveLayoutTo… methods that take a PivotGridWebOptionsLayout object as the optionsLayout parameter. This object determines which settings should be affected.

Pass the DefaultLayout object as the optionsLayout parameter to allow fields contained in the pivot grid to override fields contained in a layout storage when the control layout is saved to this storage, and allow fields contained in the layout storage to override fields contained in the pivot grid when the control layout is restored.

Note

Use the DefaultLayout property for backward compatibility with v10.2 and earlier (for instance, if you are restoring a layout saved with an old version, or saving a layout that will be restored with it).

See Also