Skip to main content
All docs
V25.1
  • DockManager.SaveLayoutToJson(Stream) Method

    Saves the layout of dock panels to a file in JSON format.

    Namespace: DevExpress.XtraBars.Docking

    Assembly: DevExpress.XtraBars.v25.1.dll

    NuGet Package: DevExpress.Win.Navigation

    Declaration

    public virtual void SaveLayoutToJson(
        Stream utf8jsonStream
    )

    Parameters

    Name Type Description
    utf8jsonStream Stream

    Layout settings of dock panels in UTF-8 encoded JSON format.

    Remarks

    Use the DockManager.RestoreLayoutFromJson method to load layout settings of dock panels from a file in JSON format.

    Refer to the following help topic for additional information: Saving and Restoring the Layout of Dock Panels.

    Tip

    You can utilize the Persistence Behavior or Workspace Manager component to save and restore layouts for all supported DevExpress controls simultaneously.

    See Also