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.