Under the old ApplicationMenu style, it was possible for the user to add its items to the QAT via right click commands.
This right click option is no longer available for items under the ApplicationMenu2010 style.
How can we add ApplicationMenu2010 items to the QAT? Why was the right click option removed?
Thanks
Using Infragistics WinForms 17.2
Hi Teodosia,
Your sample doesn't address my question, as it is not using the ApplicationMenu2010, it is using the original ApplicationMenu, and I am not trying to add ribbon groups, but items under the ApplicationMenu, i.e. the area that is shown when you hit the File button.
When I change your sample to use the ApplicationMenu2010, and add a button under that area, the right click does nothing.
Here you can see I am right clicking on the ButtonTool1, but the "Add to Quick Access Toolbar" command does not appear.
Here is your sample adjusted to show that the above image.
QAT_Application2010_Adjusted.zip
And here is a screenshot of your original sample with a button added to the ApplicationMenu, showing the right click option is available then:
So why is this right click option not available for items underneath the ApplicationMenu2010?
Hello Robert,My suggestion is to set the UltraToolbarManager.RibbonApplicationMenu2010.ShowDefaultContextMenu property to True.
public partial class Form1 : Form { public Form1() { InitializeComponent(); this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.Office2010; this.ultraToolbarsManager1.Ribbon.ApplicationMenu2010.ShowDefaultContextMenu = true; } }
That does indeed solve it, the appropriate right click menu is now restored.
Thank you!
Hello Robert,
I am glad that you find my suggestion helpful.
Thank you for using Infragistics components.
Sincerely,Teodosia HristodorovaAssociate Software Developer