RibbonControl.RestoreLayout(String) Method
Restores the saved layout of a RibbonControl.
Namespace: DevExpress.Xpf.Ribbon
Assembly: DevExpress.Xpf.Ribbon.v25.2.dll
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| path | String | A path to the XML file from which a custom layout is restored. |
Remarks
The RestoreLayout(System.String) method loads contents of an XML file generated by the RibbonControl.SaveLayout(System.String) method. You can also use the RibbonControl.RestoreDefaultLayout() method to discard the layout customization and roll back to the default layout.
Saving and restoring layouts is part of the Customization feature. Refer to the following section for more information: Runtime Customization.
See Also