Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PivotGridControl.RestoreLayoutFromStreamAsync(Stream) Method

SECURITY NOTE

Deserializing layout settings from untrusted resources may create security issues. Review the following help topic for additional information: Safe Deserialization.

Restores the pivot grid layout from the specified stream asynchronously.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v24.2.dll

NuGet Package: DevExpress.Wpf.PivotGrid

#Declaration

public Task<bool> RestoreLayoutFromStreamAsync(
    Stream stream
)

#Parameters

Name Type Description
stream Stream

A Stream descendant that stores the pivot grid’s layout.

#Returns

Type Description
Task<Boolean>

An asynchronous operation that returns true in case of success.

See Also