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
3455
Can I change the Text in contextmenu.
posted

HI,

How can I change the text of context menu, the context menu screen shot is attached.

regards,

pgr2007

DockManager_ContextMenu.zip
  • 44743
    posted

    You can customize the following resource strings in the dock manager assembly:

    • ContextMenuDockabel
    • ContextMenuHide
    • ContextMenuFloating
    • ContextMenuAutoHide

    Also, if you are using dock panes as mdi children (as it appears you are from the screenshot), you can also customize the following resource strings from the tabbed mdi manager assembly:

    • MenuItemClose
    • MenuItemNewHorizontalGroup
    • MenuItemNewVerticalGroup
    • MenuItemMoveToNextGroup
    • MenuItemMoveToPreviousGroup

    The following article gives a brief overview of how to customize resource strings: http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/Win_Customizing_Assembly_Resource_Strings.html

  • 2334
    posted
    Well, you can set the UseDefaultContextMenus property to false but I do not see a way to set your own context menu. I assume there is a way to do that but I did not see a BeforeContextMenu event or a property to set your own Context menu.... But this may point you in the right direction.