Skip to main content
All docs
V25.2
  • TileContainer.SaveLayoutToJson(Stream) Method

    Saves the tile container’s layout to a file in JSON format.

    Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

    Assembly: DevExpress.XtraBars.v25.2.dll

    NuGet Package: DevExpress.Win.Navigation

    Declaration

    public void SaveLayoutToJson(
        Stream utf8jsonStream
    )

    Parameters

    Name Type Description
    utf8jsonStream Stream

    The layout in UTF-8 encoded JSON format.

    Remarks

    Use the RestoreLayoutFromJson(Stream) method to load the layout from a file in JSON format.

    You can save and restore layout settings of groups and items. Item content and appearance settings are not saved/restored.

    Tip

    Use the Persistence Behavior or Workspace Manager component to save and restore layouts for all DevExpress UI controls simultaneously.

    See Also