Back to Devexpress

PivotGridControl.RestoreLayoutFromStreamAsync(Stream) Method

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-dot-restorelayoutfromstreamasync-x28-system-dot-io-dot-stream-x29.md

latest1.9 KB
Original Source

PivotGridControl.RestoreLayoutFromStreamAsync(Stream) Method

SECURITY-RELATED CONSIDERATIONS

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.v25.2.dll

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public Task<bool> RestoreLayoutFromStreamAsync(
    Stream stream
)
vb
Public Function RestoreLayoutFromStreamAsync(
    stream As Stream
) As Task(Of Boolean)

Parameters

NameTypeDescription
streamStream

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

|

Returns

TypeDescription
Task<Boolean>

An asynchronous operation that returns true in case of success.

|

See Also

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace