contextmenu

Silverlight Datagrid select on right click

Hi Is there a way for a right click event to select a row in toolkit datagrid? I'm using toolkit context menu which works nicely, but the problem is, only left click is able to select rows, and I need right click to be able to do that if I want my context menu to work properly. Any help is appreciated ...

WPF - Redrawing a Context Menu when Items change?

I have a ItemsControl in a ScrollViewer, and when the items exceed the width of the ScrollViewer they are put into a ContextMenu and shown as a DropDown instead. My problem is that when the Context Menu is first loaded, it saves the saves the size of the Menu and does not redraw when more commands get added/removed. For example, a panel...

Making WinForm ContextMenu Background Gray?

Context menus seem to have a default white background. This looks pretty nice, but for consistency's sake, I'd like the context menu to be gray like with any other application. How can I get this style for my context menu? ...

ContextMenuStrip Is Available On NotifyIcon, But Not ContextMenu?

I'm adding a ContextMenu to a WinForm application and I want to associate it to a NotifyIcon. The issue is the NotifyIcon's properties only include ContextMenuStrip and not ContextMenu. How can I add a ContextMenu to my icon? Thanks! ...

How to extend Eclipse's compare context menu?

I want to create a plugin that displays additional information about Eclipse's compare results. For example, clicking a difference in Eclipse will bring up additional meta-information in my new view about who made the change, when it was made, what are the related changes, etc. I've got everything else figured out except how to call the ...

Multiple usage of MenuItems declared once (WPF)

Is it possible in WPF to define some menu structure and than use it in multiple contexts? For example I'd like to use a set of menu items from resources in ContextMenu, Window's menu and ToolBar (ToolBar with icons only, without headers). So items order, commands, icons, separators must be defined just once. I look for something like th...

1Password Style custom Action Menu

Hello, I just have a quick question. In the 1Password app on the iPhone/iPad when you tap the password field it gives you a non-standard option in the context-menu. I was wondering how this could be recreated with some other non-standard options like "Copy/Email/Something else". ** This does not pertain to passwords and text masking ...

Identify link on contextmenu event in safari extension

Hi! I'm trying to build a safari extenstion (mostly for learning purposes) that creates a delicious bookmark, when the user right clicks on a link. I've watched the WWDC Creating a Safari Extension video and everything is working fine. Except that i don't have a clue how to find out if the user clicked on a link (or just some text) an...

ASP.Net HTML Code Window Constant Name

Hello, I am trying to place a right-click menu addin for the asp.net html window. The one I currently have works on the C#/Vb code window...just not in the html code window. commandBars = (CommandBars)applicationObject.CommandBars; codeCommandBar = commandBars["Code Window"]; That would get me the context menu (right-...

Silverlight Toolkit context menu of ComboBoxItem not showing for selected item.

Desired Result: Create a quick XAML example of Silverlight 4 ComboBox, where each ComboBoxItem is made up of multiple TextBlocks. Every Textblock in the ComboBoxItem has it's own unique (Silverlight Toolkit) ContextMenu item. Rightclicking the Textblock brings up the relate context menu. Working properly: I have successfully created t...

SourceControl of ContextMenuStrip is Nothing in ToolStripMenuItem Click?

I have single ContextMenuStrip attached to more controls. In use the Opening event of ContextMenuStrip to filter/disable some context entries. In this case the property ContexteMenuStrip.SourceControl is set correctly. The problem I have is on the Click event of a ToolStripMenuItem. This item is inside a ToolStripDropDown. I get the ...

Trigger on ContextMenu.IsOpen in XAML

Hello. Here's what I'm trying to do: <Style x:Key="TreeViewItemStyle"> <Setter Property="TreeViewItem.ContextMenu" Value="{StaticResource ContextMenu}" /> <Style.Triggers> <Trigger Property="TreeViewItem.ContextMenu.IsOpen" Value="True"> <Setter Property="TreeViewItem.BitmapEf...

Is it possible to change language for context menu in google maps?

I have added context menu to my google map like this: map.addControl(new ContextMenuControl()); it is rendered with English texts whish is not what I want unfortunetly. Do you know a method to change locale for gmaps context menu (I want to show menu positions in language other than English)? In a big picture I want to deliver functi...

JQuery plugin combo woes: Fancybox and ContextMenu

Hello, I'm using two popular plugins with success for the most part: http://www.trendskitchens.co.nz/jquery/contextmenu/ http://fancybox.net/ They both work fantastically. However, I cannot seem to get context menus working inside a fancybox. The normal right click menu is suppressed, so I'm led to believe there is a z-index clash som...

Create a context menu using VS 2010 designer?

Hello, I need to create a context menu, is it possible to do this using the VS 2010 designer / see a preview while writing your xaml code? Thanks for any hint! ...

ContextMenu: Remove the icon column and unnecessary space?

Hello, I need to remove the icon column and the unnecessary space on the right side of a contextmenu. Here's a screenshot explaining it: Thanks for any hint! ...

Problem in Using Context Menus?

I am using Windows forms in .NET 2.0. I have used Split Container in my application with two Context Menus. I want that one context menu is associated with panel1 of split container & another context menu is associated with panel2 of split container. Till Now the things go very fine. I am using context menu property of panel1 & panel...

Radio items in GNOME panel applet's context menu

Is there a way to put radio menu items in a GNOME panel applet's context menu, and then control which of the items is marked as active? The official documentation is less than helpful, and all of the applets installed on my computer use normal menu items, so I can't look at their source code for any guidance. ...

Windows Forms treeview node context menu problem

I have treeview and a context menu that is shown for every node. One node has the selection. I move now with the mouse to another node and open the context menu with a righ-mouse-click. Now there is the problem, that the selection is still on the old new node. How can I prevent, that the menu pops up, if the user haven't selected the no...

Selecting the first item in a popUpContextMenu

I work on a very keyboard intensive application. Both hands on the keyboard. No hands on the mouse. A user can, via the keyboard, popup a context menu, select an item and finally hit enter. [NSMenu popUpContextMenu] displays the menu without highlighting any item. The user will have to press arrow_down one time in order to highlight th...