SpreadsheetGear 2017
MainMenuStrip Property (WorkbookDesigner)






SpreadsheetGear.Windows.Forms Namespace > WorkbookDesigner Class : MainMenuStrip Property
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 WorkbookDesigner
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WorkbookDesigner Class
WorkbookDesigner Members