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

    SplitContainerControl.SaveLayoutToJson(Stream) Method

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

    Namespace: DevExpress.XtraEditors

    Assembly: DevExpress.Utils.v25.1.dll

    NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

    #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.

    Tip

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

    See Also