I am using the Ribbon and I want the user to be able to customize the QuickAccessToolbar at runtime. I haven't figured out a good way to do that for the user. My one solution was to add the tools that have ShowInCustomizer = true in a list that would be displayed in the context menu. However, that is not user friendly and the list is going to be quite long.
I tried showing the customizer at run-time and doing it that way, but I cannot drop a tool on the QuickAccessToolbar (or any other part of the ribbon for that matter).
Notable Properties:
Also I should specify that I'm using the UltraToolbarsManagerWorkspace from within the CAB Extensibility Kit. I don't know if that makes a difference since it just wraps the main toolbars manager, but I'm mentioning it just in case.
I won't be happy, but if I have to I will implement a unique customization control. However, I would really just like to allow the drag-and-drop capability or something equally useful within the existing toolset.
Hi,
I am glad you resolved your issue. If you want you may submit a feature request for this event on the link below : http://devcenter.infragistics.com/protected/requestfeature.aspx
Regards,
Stefaniya
I like how it works more now as I've worked with it; and it is pretty consistent to the Windows/Office implementation of the ribbon. Having the option to add the tool to the QuickAccessToolbar from the ribbon from the context menu is sufficient for my requirements.
However, it would be nice if there was an event that captured a tool being added to the underlying UltraToolbarsManager Tools collection, because then I could choose to add individual tools to the QuickAccessToolbar's context menu.
I have created the following support ticket for you: CAS-48845-P91P5Y. Please send me more details how you want to implement the customization of the QuickAccessToolbar or if it possible to send a sample, so I can research this further.
The event that would be needed would be to detect the ribbon being "added to"; or more specifically tools in the underlying toolbars manager. I assume the QuickAccessToolbarModified event only occurs when a tool is added to the toolbar and not to the tools of the toolbars manager.
The QuickAccessToolbar would only be customized by the user. Ideally, that would be a drag and drop operation. However, the default context menu on the ribbon will definitely suffice. Given that, I don't really need to populate the context menu on the QuickAccessToolbar. Populating that context menu was the problem since my tools would be added to the toolbars manager as the modules are loaded.
I hope that clears things up. To summarize the context menu on the ribbon will suffice for the feature to allow users to customize the QuickAccessToolbar at runtime.
The event reflecting the changes in the quickAccesToolbarsManager is QuickAccessToolbarModified and the modification type is described by e.QuickAccessToolbarChangeType.
I need to check that based on your scenario with CAB, if you attach a sample of what you have done up to now (if you want I can open a case where you can upload it) will give me more clues what is going on. And I will be glad to research further.