Back to Devexpress

DockManager.SaveLayoutToJson(Stream) Method

windowsforms-devexpress-dot-xtrabars-dot-docking-dot-dockmanager-dot-savelayouttojson-x28-system-dot-io-dot-stream-x29.md

latest2.1 KB
Original Source

DockManager.SaveLayoutToJson(Stream) Method

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

Namespace : DevExpress.XtraBars.Docking

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public virtual void SaveLayoutToJson(
    Stream utf8jsonStream
)
vb
Public Overridable Sub SaveLayoutToJson(
    utf8jsonStream As Stream
)

Parameters

NameTypeDescription
utf8jsonStreamStream

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

RestoreLayoutFromJson(Stream)

DockManager Class

DockManager Members

DevExpress.XtraBars.Docking Namespace