Top "Contextmenustrip" questions

ContextMenuStrip should appear when a user right-clicks, reacting to the surroundings.

Determine what control the ContextMenuStrip was used on

I have a ContextMenuStrip that is assigned to several different listboxes. I am trying to figure out when the ContextMenuStrip …

c# .net winforms contextmenustrip
how to show contextmenustrip when a button is clicked in the right position

I want to click on a button and have it show a ContextMenuStrip right below the button. It keeps showing …

c# winforms button contextmenustrip
How to add sub menu items in contextmenustrip using C#4.0?

I have one contextmenustrip control associated with treenode. I have created one menu item in contextmenustrip manually in the form …

c# c#-4.0 contextmenustrip
Different ContextMenuStrip for DataGridView Cell, RowHeader and ColumnHeader

I want to set different ContextMenuStrip for DataGridView Cells, RowHeaders and ColumnHeaders. The idea is that when I right-click any …

vb.net winforms datagridview contextmenustrip header-row
How do you get the control that was clicked to open a ContextMenuStrip?

I'm using a ContextMenuStrip for multiple controls and I'm trying to figure out the best way to get the control …

vb.net visual-studio-2008 event-handling contextmenustrip
Finding the selected item of list view

I currently have a list view which has several rows of data and I have a contextmenustrip in C# .NET. …

c# listview contextmenustrip
Show checkbox for Context MenuStrip or Context Menu of a button

I am designing a logging feature in which User can select which event he wants to log. On clicking button, …

c# winforms contextmenu contextmenustrip
How to add a contextMenu programmatically in C#(VS 2008)?

I'm using VS 2008, and I would like to add a contextMenu (definitely not ContextMenuStrip!!) to my application. There is no …

c# visual-studio-2008 contextmenu contextmenustrip
C# DataGridView Right Click to ContextMenu Click Retrieve Cell Value

I have a DataGridView. I have created a ContextMenuStrip when Right Clicking a Cell in column 4 of my DataGridView. I …

c# datagridview contextmenustrip
Do not close ContextMenuStrip on selection of certain items

Is it possible to leave a ContextMenuStrip open after a selection/check of certain items? I plan on using a …

c# .net user-interface contextmenustrip