Skip to content

Differents QuickAccessToolBar in the same application #1053

Answered by batzen
InfodataJB asked this question in Q&A
Discussion options

You must be logged in to vote

The state storage is very simple and only uses index based lookup for items.
You can implement your own state storage by creating a class which implements IRibbonStateStorage.
To make use of it you have to create a new class inheriting from Ribbon and overwrite CreateRibbonStateStorage in that class.
If you want to load a different state after some action you can then simply call ribbon.RibbonStateStorage.Load();.
You can find the code for the default state storage at https://github.com/fluentribbon/Fluent.Ribbon/blob/v6.0.0/Fluent.Ribbon/Data/RibbonStateStorage.cs

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@InfodataJB
Comment options

Answer selected by InfodataJB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants