Skip to main content
All docs
V23.2

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.v23.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