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
1375
Add custom menu items to Navigation Context Menu
posted

 I'm trying to add some custom menu items to the UltraExplorerBar Navigator context menu. I'm using the navigationContextMenuInitializing method, looping through the existing menu items to ensure I haven't already created it, and then adding the menu item.

The problem I'm having is the style of the menu item. If I just create a new menuitem and add it to the menu, or use the Add( ) method of the menuitem collection, the look of the menuitem is different from the existing items (such as Open in a New Window). If I use the cloneMenu method of an existing menuitem and change the text, the style is correct, but when the menuitem is clicked, I get both the original dialog the cloned menuitem displayed plus whatever my new eventhandler method is.

Is there a property that will allow me to create the menuitem so that it is similar in style to what is already on the menu?

Thanks,

JL

  • 1375
    Verified Answer
    posted

     Sorry for the post...found the answer two minutes after hitting submit!

     http://help.infragistics.com/Help/NetAdvantage/NET/2008.1/CLR2.0/html/Infragistics2.Win.UltraWinExplorerBar.v8.1~Infragistics.Win.UltraWinExplorerBar.NavigationContextMenuInitializingEventHandler.html