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 not sure I understand you, if you want you can upload a small sample illustrating your issue. For now I can suggest you to check in the Samples on your machine provided with your installation: Windows Forms Feature Browser - > Ribbon at Run Time - the InitializeQuickAccessToolbar part(I am not sure if it is the same with the CAB extensibility kit)
Let me know if this is helpful for you.
Regards,
Stefaniya
Developer Support Engineer
Infragistics, Inc
http://es.infragistics.com/support
That is a helpful example, and it helped me find what I was missing. The option on the default ribbon context menu lets you Add to Quick Access Toolbar. This is essentially what I need.
The problem is that with Smart Client applications you do not know what your tools will be at design time, because your ribbon is setup as an extension site; or as in my case different extension sites -- for example I can add a new tab or add to one of a few different groups within the main tab. Not knowing what tools you have makes it difficult to populate the context menu on the Quick Access Toolbar's context menu. To make things worse there is no event for the toolbars manager for when a tool is added or in SCSF when an extension site has been added to.
Having drag and drop support for the tools would be a nice enhancement. I understand it would not be available in the Office compatibility mode.