ContextMenu Constructor ()
.NET Framework (current version)
Initializes a new instance of the ContextMenu class with no menu items specified.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Once you have used this version of the constructor, you can add menu items to the ContextMenu by using the Add method of the Menu::MenuItemCollection class. You can access the Menu::MenuItemCollection through the MenuItems property.
.NET Framework
Available since 1.1
Available since 1.1
Show: