PivotGridControl.RestoreLayoutFromStream(Stream) Method
In This Article
Restores the pivot grid's layout from the specified stream.
Namespace: DevExpress.Xpf.PivotGrid
Assembly: DevExpress.Xpf.PivotGrid.v14.2.dll
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
stream | Stream | A Stream descendant that stores the pivot grid's layout. |
#Remarks
To save the pivot grid's layout, use the PivotGridControl.SaveLayoutToStream method.
Note that you should specify unique names for all pivot grid fields to correctly save and restore the layout. You can do this using the PivotGridField.Name property.
To learn more, see Save and Restore Layout.
See Also