Skip to main content

BaseView.RestoreLayoutFromXml(Stream) Method

Restores the layout from a specific stream that contains data in XML format.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v22.2.dll

NuGet Package: DevExpress.Win.Navigation


public void RestoreLayoutFromXml(
    Stream stream


Name Type Description
stream Stream

The stream from which the layout should be restored.


Use the following methods to save the layout in the corresponding format/storage and subsequently restore it:


The ControlName property should be set to a unique value for documents populated with the content on the fly (see Deferred Load). Otherwise, these documents cannot be restored.


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

See Also