In This Topic
Syntax
'Declaration
<SRCategoryAttribute("CatWindowStyle")>
<System.ComponentModel.DefaultValueAttribute("")>
<SRDescriptionAttribute("FormMenuStripDescr")>
<System.ComponentModel.TypeConverterAttribute(System.ComponentModel.ReferenceConverter)>
Public Property MainMenuStrip As System.Windows.Forms.MenuStrip
'Usage
Dim instance As LicenseDialog
Dim value As System.Windows.Forms.MenuStrip
instance.MainMenuStrip = value
value = instance.MainMenuStrip
[SRCategory("CatWindowStyle")]
[System.ComponentModel.DefaultValue("")]
[SRDescription("FormMenuStripDescr")]
[System.ComponentModel.TypeConverter(System.ComponentModel.ReferenceConverter)]
public System.Windows.Forms.MenuStrip MainMenuStrip {get; set;}
public read-write property MainMenuStrip: System.Windows.Forms.MenuStrip;
SRCategoryAttribute("CatWindowStyle")
System.ComponentModel.DefaultValueAttribute("")
SRDescriptionAttribute("FormMenuStripDescr")
System.ComponentModel.TypeConverterAttribute(System.ComponentModel.ReferenceConverter)
public function get,set MainMenuStrip : System.Windows.Forms.MenuStrip
[SRCategory("CatWindowStyle")]
[System.ComponentModel.DefaultValue("")]
[SRDescription("FormMenuStripDescr")]
[System.ComponentModel.TypeConverter(System.ComponentModel.ReferenceConverter)]
public: __property System.Windows.Forms.MenuStrip* get_MainMenuStrip();
public: __property void set_MainMenuStrip(
System.Windows.Forms.MenuStrip* value
);
[SRCategory("CatWindowStyle")]
[System.ComponentModel.DefaultValue("")]
[SRDescription("FormMenuStripDescr")]
[System.ComponentModel.TypeConverter(System.ComponentModel.ReferenceConverter)]
public:
property System.Windows.Forms.MenuStrip^ MainMenuStrip {
System.Windows.Forms.MenuStrip^ get();
void set ( System.Windows.Forms.MenuStrip^ value);
}
Requirements
Target Platforms: .NET CLR 4.8 or higher
See Also