Form::MainMenuStrip Property
.NET Framework (current version)
Gets or sets the primary menu container for the form.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: [TypeConverterAttribute((ReferenceConverter^::typeid))] property MenuStrip^ MainMenuStrip { MenuStrip^ get(); void set(MenuStrip^ value); }
Property Value
Type: System.Windows.Forms::MenuStrip^A MenuStrip that represents the container for the menu structure of the form. The default is null.
.NET Framework
Available since 2.0
Available since 2.0
Show: