Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
105
Add item on Ribbon Caption Area Menu
posted

In the ribbon caption area, if I right-click, I have the context menu:

'customize quick access toolbar', 'show quick access toolbar below', 'customize the ribbon', 'minimize the ribbon'.

Is it possible to add a new custom item to perform some other application task?

I'd like to add an item like  'Customize shortcut' and then I'll show my own dialog.

Thanks

  • 35130
    Offline posted

    Hello Stefano,

    I have been investigating into the behavior you are seeing, and I had to reach out to one of our senior Windows Forms developers on this, since I was rather unsure if there is a way to do this. Unfortunately, the senior developer confirmed my worries here, as there is no way to access that drop-down aside from the boolean properties on the event arguments of the BeforeToolbarListDropDown event that can allow you to show or hide certain parts of that menu.

    The current recommendation is that if you are looking to modify this drop-down, you should handle the BeforeToolbarListDropDown event and set the Cancel property to true on the event arguments of that event. This event also gives you the location that the drop-down would open, which will allow you to provide your own custom context menu.

    If you would like to see the ability to customize this menu built-in, the best thing I can recommend is to suggest a new product idea for this at our Windows Forms Ideas Site, here: https://ko.infragistics.com/community/ideas/i/ultimate-ui-for-windows-forms. This will place you in direct communication with our product management teams who plan and prioritize upcoming features and development based on community and user feedback.

    Please let me know if you have any other questions or concerns on this matter.