Skip to main content

ASPxPivotGrid.SaveLayoutToStream(Stream) Method

Saves the pivot grid layout to the specified stream.

Namespace: DevExpress.Web.ASPxPivotGrid

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

NuGet Package: DevExpress.Web


public void SaveLayoutToStream(
    Stream stream


Name Type Description
stream Stream

A Stream descendant to which the pivot grid layout is written.


Use the SaveLayoutToStream method to write the pivot grid layout to a stream. The layout can then be read using the ASPxPivotGrid.LoadLayoutFromStream method.

The ASPxPivotGrid.OptionsLayout property controls which settings should be saved to the stream.


The expansion states of field values are not saved by the SaveLayoutToStream method.

See Also