How can I add a context menu to a ListBoxItem?
Just to elaborate a little further to what Frans has said…Even though the ListBox owns the ContextMenuStrip, you can still customize the items in the menu strip at the time it’s opening. Thus customizing it’s contents based on the mouse position within the listbox. The example below selects the item in the listbox based on … Read more