RibbonControl.SaveLayout(Object) Method
Saves a custom RibbonControl‘s layout into an XML file or a stream.
Namespace: DevExpress.Xpf.Ribbon
Assembly: DevExpress.Xpf.Ribbon.v24.1.dll
NuGet Package: DevExpress.Wpf.Ribbon
Declaration
Parameters
Name | Type | Description |
---|---|---|
path | Object | A path to the layout configuration file or a stream to which a custom layout is to be saved. |
Remarks
The SaveLayout method saves a custom layout of a RibbonControl to an .xml file or a stream. To restore the custom layout, use the RibbonControl.RestoreLayout method.
You can also use the RibbonControl.SaveDefaultLayout method to save the current RibbonControl layout as the default layout.
See the Runtime Customization topic to learn more about the Ribbon Customization feature.
See Also