This project is read-only.

Save/Reload QAT in Composite Application

Aug 31, 2012 at 3:13 PM


I’m using the Fluent Ribbon in a Composite Application (based on PRISM).

I use the RibbonTabs as PRISM regions and each RibbonGroupBox gets dynamically loaded into the region at runtime.

Now my Question:

How can I save and load the QAT Items? (The build in way doesn’t work: Error while QAT items loading: one of the paths is invalid)

Regards, Musium

Oct 22, 2012 at 7:55 PM

Saving is not your issue.

I think loading the QAT items again is your problem.

The code which loads the QAT items looks at the logical tree of the Ribbon and i think your items are not part of the logical tree when the ribbon is loaded.

However, i made the LoadState method of the Ribbon public with commit you can use this method to (re)load the Ribbon state (which includes loading the QAT items) later, when you added your ribbon elements/groups to the logical tree of the ribbon.

Can you try this and tell me if it worked?