I am trying to mimic the functionality of a web browser's "Favorites" (or "Bookmarks" ) menu. I would like to be able to right-click on a ToolStripMenuIt em and have a context menu appear so that I can list options such as "Open Page", "Delete Favorite", "Delete Folder", etc. Unfortunately the ToolStripMenuIt em does not have a "ContextMen u" property like many other object in the System.Windows. Forms namespace.
If it was a TextBox, I would just create my context menu in the IDE and set the TextBox.Context Menu to my menu and it would work, but that does not appear to be an option for ToolStrip objects.
Is there still some way that I can bring up a context menu that can reference the properties of the selected menu item?
I am coding in C# in .NET 2.0.
If it was a TextBox, I would just create my context menu in the IDE and set the TextBox.Context Menu to my menu and it would work, but that does not appear to be an option for ToolStrip objects.
Is there still some way that I can bring up a context menu that can reference the properties of the selected menu item?
I am coding in C# in .NET 2.0.
Comment