SpreadsheetGear 2012
Menu Property (WorkbookDesigner)






Syntax
'Declaration
 
<SRCategoryAttribute("Window Style")>
<System.ComponentModel.DefaultValueAttribute()>
<SRDescriptionAttribute("The main menu of the form. This must be set to a component of type MainMenu.")>
<System.ComponentModel.TypeConverterAttribute("System.ComponentModel.ReferenceConverter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")>
<System.ComponentModel.BrowsableAttribute(False)>
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
[SRCategory("Window Style")]
[System.ComponentModel.DefaultValue()]
[SRDescription("The main menu of the form. This must be set to a component of type MainMenu.")]
[System.ComponentModel.TypeConverter("System.ComponentModel.ReferenceConverter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.MainMenu Menu {get; set;}
public read-write property Menu: System.Windows.Forms.MainMenu; 
SRCategoryAttribute("Window Style")
System.ComponentModel.DefaultValueAttribute()
SRDescriptionAttribute("The main menu of the form. This must be set to a component of type MainMenu.")
System.ComponentModel.TypeConverterAttribute("System.ComponentModel.ReferenceConverter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")
System.ComponentModel.BrowsableAttribute()
public function get,set Menu : System.Windows.Forms.MainMenu
[SRCategory("Window Style")]
[System.ComponentModel.DefaultValue()]
[SRDescription("The main menu of the form. This must be set to a component of type MainMenu.")]
[System.ComponentModel.TypeConverter("System.ComponentModel.ReferenceConverter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
[System.ComponentModel.Browsable(false)]
public: __property System.Windows.Forms.MainMenu* get_Menu();
public: __property void set_Menu( 
   System.Windows.Forms.MainMenu* value
);
[SRCategory("Window Style")]
[System.ComponentModel.DefaultValue()]
[SRDescription("The main menu of the form. This must be set to a component of type MainMenu.")]
[System.ComponentModel.TypeConverter("System.ComponentModel.ReferenceConverter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
[System.ComponentModel.Browsable(false)]
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

Send Feedback