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.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public void SaveLayoutToStream(
    Stream stream
)

Parameters

Name Type Description
stream Stream

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

Remarks

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.

Note

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

See Also