want to remove the "Lock the Toolbars","Customize.." from the tool bar right click. And also want to add the "Large Icons" option to the right click on tool bar..how to add this option and handle the click event of this newly added option.
I suggest handling the BeforeToolbarListDropdown event of the ultraToolbarsManager, with it you can cancel the default context menu and add a custom one that suits the needs of your toolbar or a specific tool in it. After that for each menu item you need to create an event for its functionality.
I have attached a sample that contains a simple context menu, which replaces the default one. It has removed "Lock Toolbars" and "Customize..", and also contains “Large Icons” option in it as you required.
Please let me know if you need further assistance.