Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 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.RestoreLayoutFromXmlAsync(String) 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’s layout from the specified XML file asynchronously.

    Namespace: DevExpress.Xpf.PivotGrid

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

    NuGet Package: DevExpress.Wpf.PivotGrid

    #Declaration

    public Task<bool> RestoreLayoutFromXmlAsync(
        string fileName
    )

    #Parameters

    Name Type Description
    fileName String

    A String value that specifies the target file name.

    #Returns

    Type Description
    Task<Boolean>

    An asynchronous operation that returns true in case of success.

    See Also