SpreadsheetGear 2017
Menu Property (WorkbookDesigner)






SpreadsheetGear.Windows.Forms Namespace > WorkbookDesigner Class : Menu Property
Syntax
'Declaration
 
<SRDescriptionAttribute("FormMenuDescr")>
<System.ComponentModel.BrowsableAttribute(False)>
<System.ComponentModel.DefaultValueAttribute("")>
<SRCategoryAttribute("CatWindowStyle")>
<System.ComponentModel.TypeConverterAttribute(System.ComponentModel.ReferenceConverter)>
Public Property Menu As System.Windows.Forms.MainMenu
'Usage
 
Dim instance As WorkbookDesigner
Dim value As System.Windows.Forms.MainMenu
 
instance.Menu = value
 
value = instance.Menu
[SRDescription("FormMenuDescr")]
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DefaultValue("")]
[SRCategory("CatWindowStyle")]
[System.ComponentModel.TypeConverter(System.ComponentModel.ReferenceConverter)]
public System.Windows.Forms.MainMenu Menu {get; set;}
public read-write property Menu: System.Windows.Forms.MainMenu; 
SRDescriptionAttribute("FormMenuDescr")
System.ComponentModel.BrowsableAttribute()
System.ComponentModel.DefaultValueAttribute("")
SRCategoryAttribute("CatWindowStyle")
System.ComponentModel.TypeConverterAttribute(System.ComponentModel.ReferenceConverter)
public function get,set Menu : System.Windows.Forms.MainMenu
[SRDescription("FormMenuDescr")]
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DefaultValue("")]
[SRCategory("CatWindowStyle")]
[System.ComponentModel.TypeConverter(System.ComponentModel.ReferenceConverter)]
public: __property System.Windows.Forms.MainMenu* get_Menu();
public: __property void set_Menu( 
   System.Windows.Forms.MainMenu* value
);
[SRDescription("FormMenuDescr")]
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DefaultValue("")]
[SRCategory("CatWindowStyle")]
[System.ComponentModel.TypeConverter(System.ComponentModel.ReferenceConverter)]
public:
property System.Windows.Forms.MainMenu^ Menu {
   System.Windows.Forms.MainMenu^ get();
   void set (    System.Windows.Forms.MainMenu^ 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