Skip to main content

RibbonControl.RestoreLayout(Object) Method

Initializes the deserialization process when restoring custom a user layout.

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v14.2.dll

#Declaration

public virtual void RestoreLayout(
    object path
)

#Parameters

Name Type Description
path Object

A path to an .xml file for the custom layout to be loaded from.

#Remarks

The RestoreLayout method loads contents of an .xml file or a stream generated by the RibbonControl.SaveLayout method.

Saving and restoring layouts is part of the Ribbon Runtime Customization feature.

See Also