Back to Devexpress

PivotGridControl.RestoreLayoutFromXmlAsync(String) Method

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-dot-restorelayoutfromxmlasync-x28-system-dot-string-x29.md

latest1.9 KB
Original Source

PivotGridControl.RestoreLayoutFromXmlAsync(String) 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’s layout from the specified XML file asynchronously.

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public Task<bool> RestoreLayoutFromXmlAsync(
    string fileName
)
vb
Public Function RestoreLayoutFromXmlAsync(
    fileName As String
) As Task(Of Boolean)

Parameters

NameTypeDescription
fileNameString

A String value that specifies the target file name.

|

Returns

TypeDescription
Task<Boolean>

An asynchronous operation that returns true in case of success.

|

See Also

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace