RibbonControl.SetCurrentLayoutAsDefault() Method
Sets the current RibbonControl layout as the default layout.
Namespace: DevExpress.XtraBars.Ribbon
Assembly: DevExpress.XtraBars.v24.2.dll
Declaration
Remarks
If the RibbonControl.AllowCustomization property equals true, end-users can customize the layout (see the Runtime Customization topic for more info). To discard all the layout changes, an end-user can click the Reset button in the Ribbon Customization window.
The SetCurrentLayoutAsDefault method sets the currently applied layout as the default layout for this RibbonControl, so whenever an end-user clicks the Reset button, the layout will be rolled back to this default layout.
See Also