Skip to main content

ASPxPivotGrid.LoadLayoutFromStream(Stream) Method

Restores the pivot grid layout from the specified stream.

Namespace: DevExpress.Web.ASPxPivotGrid

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

NuGet Package: DevExpress.Web

#Declaration

public void LoadLayoutFromStream(
    Stream stream
)

#Parameters

Name Type Description
stream Stream

A Stream descendant from which pivot grid settings are read. If null (Nothing in Visual Basic), an exception is raised.

#Remarks

Use the LoadLayoutFromStream method to load the pivot grid layout from a stream to which the layout has been saved via the ASPxPivotGrid.SaveLayoutToStream method.

The ASPxPivotGrid.OptionsLayout property controls whose settings should be restored from the stream.

See Also