Category / Section
How to persist the QuickAccessToolbar items added into WinForms RibbonControlAdv?
1 min read
Persist the QAT items
SaveState and LoadState methods of RibbonControlAdv helps you to save the following ribbon information.
- The items in the QuickAccessToolBar that are added through the "Customize Quick Access ToolBar" can be persisted.
- Items added through the context menu that appears while clicking the dropdown arrow to the right of the QuickAccessToolBar can be persisted.
- The collapsed / expanded / floating state of the RibbonPanel can be persisted.
- The position of the QuickAccessToolBar, either below or above the ribbon panel can be persisted.
C#
this.ribbonControlAdv1.SaveState(); this.ribbonControlAdv1.LoadState();
VB
this.ribbonControlAdv1.SaveState() this.ribbonControlAdv1.LoadState()
Reference link: https://help.syncfusion.com/windowsforms/ribbon/serialization-support