Posted 24 April 2023, 5:46 pm EST
I have a Winforms applcation using the 4.8 C1RIbbon and backstage view. I would like to save my ribbon settings when closing down the application and load them when starting up again. I am attempting to do so by calling C1Ribbon.Save(“ribbonsettings_filename.xml”) in .FormClosing and load it up by calling C1Ribbon.Load(“ribbonsettings_filename.xml”) in .FormLoad
However, I’ve found that this results in a unhandled exception if I try to do so. I narrowed it down to what seems to be a conflict with the Backstage View.
If I do .Load() before trying to open my backstage view, I get a ribbon that has no ability to open the backstage view. If I do .Load() after opening the backstage view, I get an unhandled exception and the application hangs.
What is the recommended way to save and load Ribbon settings such as icons in the QAT, position of QAT, and whether the ribbon is minimized?