Reputation: 5824
I would like to be able to change the style of the ContextMenuStrip currently available in .NET, I've always found it very ugly.
For example, this is the one in the Framework:
And I would like to use this system-style menu in my program:
Is there any way I can use the normal context strip in a managed app?
Upvotes: 0
Views: 749
Reputation: 57220
Try to use the old ContextMenu control, e.g.
ContextMenu menu = new ContextMenu();
menu.MenuItems.Add("Hello");
menu.MenuItems.Add("-"); // yes, this makes a separator !!!
menu.MenuItems.Add("World");
Image:
Upvotes: 2