I am using UltraDockManager, have set the property UseDefaultContextMenus as true. So that on right click "Hide" and "Floating" menu items are shown. I do not want to use the "Hide" menu item.
In order to do that I have set pane's Settings.AllowClose to false. No the Hide is disabled. I need to remove the Hide from the menu itself.
Many thanks to you in advance.
Regards
Jeni
Hello Jeni,
First, you could take a look at the following forum thread:
http://forums.infragistics.com/forums/t/17012.aspx.
And I also created a sample with Mike's code for you. It is a very good way to customize the context menu.
Please feel free to let me know if I misunderstood you or if you have any other questions.
Hello Boris
I want to remove the "Hide" from the defaultcontextmenu of the ultradockmanager. Currently it has "Hide" and "Floating" as menu items. I need only "Floating" in it.
Now by setting AllowClose property to false, I could simple disable the Hide item, It is visible as a menu item, but in deactivated mode. I hope you can help me on this issue to remove the item from the menu.
With the above approach that I gave, you could do exactly the thing that you need. What is bothering you here? I might be not understanding you good enough.
I am checking about the progress of this issue. Please let me know If you need any further assistance on this.
Hello
The issue is not resolved at my end. Please have a look on to the default context menu of the ultra dockmanager which is attached. I need to use this to make the floating functionality of the dockareas, however do not want to hide it. I could only disable it by setting the AllowClose property to false. I want to remove that menu item. I am looking forward to either get how to access the menuitems of the default context menu or create a new contextmenustrip as you have mentioned, and bring the same layout and behavior of the defaultcontextmenu. Any help on this is much obliged.
Did you have the time to look at my sample called ContextMenuDockManager.zip in my first post? I created a new contextmenu there with an Item called 'Test'.