Skip to main content

TileContainer.SaveLayoutToXml(String) Method

Saves the current TileContainer‘s layout to an XML file.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public void SaveLayoutToXml(
    string path
)

Parameters

Name Type Description
path String

A String value that is the path to an XML file where the current TileContainer‘s layout should be saved.

Remarks

The SaveLayoutToXml method saves the current TileContainer‘s layout to an XML file. A saved layout can restored be later via the TileContainer.RestoreLayoutFromXml method.

Alternatively, you can save a TileContainer‘s layout to a registry file or stream via the TileContainer.SaveLayoutToStream or TileContainer.SaveLayoutToStream methods respectively.

Saving and restoring a layout affects only group and item arrangements. Item content and appearance settings are not kept.

Tip

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

See Also