BaseView.RestoreLayoutFromXml(String) Method

Restores the layout from a specific XML file.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public void RestoreLayoutFromXml(
    string path
)
Public Sub RestoreLayoutFromXml(
    path As String
)

Parameters

Name Type Description
path String

The path to the XML file that contains the layout that should be restored.

Remarks

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

NOTE

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.

TIP

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

Implements

DevExpress.Utils.Serializing.ISupportXtraSerializer.RestoreLayoutFromXml(String)
See Also