BaseView.RestoreLayoutFromRegistry(String) Method

Restores the layout from a specific registry key.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v21.2.dll


public void RestoreLayoutFromRegistry(
    string path


Name Type Description
path String

The registry key that contains the layout that should be restored. If the specified path does not exist, this method has no effect.


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