SpreadsheetGear.Windows.Forms Namespace > WorkbookDesigner Class : MainMenuStrip Property |
'Declaration
<System.ComponentModel.DefaultValueAttribute()> <SRCategoryAttribute("Window Style")> <SRDescriptionAttribute("Specifies the primary MenuStrip for the Form. This property is used for keyboard activation and automatic merging in MDI.")> <System.ComponentModel.TypeConverterAttribute("System.ComponentModel.ReferenceConverter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")> 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
[System.ComponentModel.DefaultValue()] [SRCategory("Window Style")] [SRDescription("Specifies the primary MenuStrip for the Form. This property is used for keyboard activation and automatic merging in MDI.")] [System.ComponentModel.TypeConverter("System.ComponentModel.ReferenceConverter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")] public System.Windows.Forms.MenuStrip MainMenuStrip {get; set;}
public read-write property MainMenuStrip: System.Windows.Forms.MenuStrip;
System.ComponentModel.DefaultValueAttribute() SRCategoryAttribute("Window Style") SRDescriptionAttribute("Specifies the primary MenuStrip for the Form. This property is used for keyboard activation and automatic merging in MDI.") System.ComponentModel.TypeConverterAttribute("System.ComponentModel.ReferenceConverter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089") public function get,set MainMenuStrip : System.Windows.Forms.MenuStrip
[System.ComponentModel.DefaultValue()] [SRCategory("Window Style")] [SRDescription("Specifies the primary MenuStrip for the Form. This property is used for keyboard activation and automatic merging in MDI.")] [System.ComponentModel.TypeConverter("System.ComponentModel.ReferenceConverter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")] public: __property System.Windows.Forms.MenuStrip* get_MainMenuStrip(); public: __property void set_MainMenuStrip( System.Windows.Forms.MenuStrip* value );
[System.ComponentModel.DefaultValue()] [SRCategory("Window Style")] [SRDescription("Specifies the primary MenuStrip for the Form. This property is used for keyboard activation and automatic merging in MDI.")] [System.ComponentModel.TypeConverter("System.ComponentModel.ReferenceConverter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")] public: property System.Windows.Forms.MenuStrip^ MainMenuStrip { System.Windows.Forms.MenuStrip^ get(); void set ( System.Windows.Forms.MenuStrip^ value); }
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