SpreadsheetGear 2017
MainMenuStrip Property (WorkbookDesigner)






SpreadsheetGear.Windows.Forms Namespace > WorkbookDesigner Class : MainMenuStrip Property
Syntax
'Declaration
 
<SRDescriptionAttribute("FormMenuStripDescr")>
<System.ComponentModel.TypeConverterAttribute(System.ComponentModel.ReferenceConverter)>
<SRCategoryAttribute("CatWindowStyle")>
<System.ComponentModel.DefaultValueAttribute("")>
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
[SRDescription("FormMenuStripDescr")]
[System.ComponentModel.TypeConverter(System.ComponentModel.ReferenceConverter)]
[SRCategory("CatWindowStyle")]
[System.ComponentModel.DefaultValue("")]
public System.Windows.Forms.MenuStrip MainMenuStrip {get; set;}
public read-write property MainMenuStrip: System.Windows.Forms.MenuStrip; 
SRDescriptionAttribute("FormMenuStripDescr")
System.ComponentModel.TypeConverterAttribute(System.ComponentModel.ReferenceConverter)
SRCategoryAttribute("CatWindowStyle")
System.ComponentModel.DefaultValueAttribute("")
public function get,set MainMenuStrip : System.Windows.Forms.MenuStrip
[SRDescription("FormMenuStripDescr")]
[System.ComponentModel.TypeConverter(System.ComponentModel.ReferenceConverter)]
[SRCategory("CatWindowStyle")]
[System.ComponentModel.DefaultValue("")]
public: __property System.Windows.Forms.MenuStrip* get_MainMenuStrip();
public: __property void set_MainMenuStrip( 
   System.Windows.Forms.MenuStrip* value
);
[SRDescription("FormMenuStripDescr")]
[System.ComponentModel.TypeConverter(System.ComponentModel.ReferenceConverter)]
[SRCategory("CatWindowStyle")]
[System.ComponentModel.DefaultValue("")]
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