ImageMan.Net Version 3 Summer 2012 Release
MainMenuStrip Property
See Also  Send Feedback
DTI.ImageMan Namespace > InputDialog Class : MainMenuStrip Property





Glossary Item Box

Syntax

Visual Basic (Declaration) 
<SRDescriptionAttribute("Specifies the primary MenuStrip for the Form. This property is used for keyboard activation and automatic merging in MDI.")>
<SRCategoryAttribute("Window Style")>
<System.ComponentModel.DefaultValueAttribute()>
<System.ComponentModel.TypeConverterAttribute("System.ComponentModel.ReferenceConverter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")>
Public Property MainMenuStrip As System.Windows.Forms.MenuStrip
Visual Basic (Usage)Copy Code
Dim instance As InputDialog
Dim value As System.Windows.Forms.MenuStrip
 
instance.MainMenuStrip = value
 
value = instance.MainMenuStrip
C# 
[SRDescriptionAttribute("Specifies the primary MenuStrip for the Form. This property is used for keyboard activation and automatic merging in MDI.")]
[SRCategoryAttribute("Window Style")]
[System.ComponentModel.DefaultValueAttribute()]
[System.ComponentModel.TypeConverterAttribute("System.ComponentModel.ReferenceConverter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
public System.Windows.Forms.MenuStrip MainMenuStrip {get; set;}
JScript 
SRDescriptionAttribute("Specifies the primary MenuStrip for the Form. This property is used for keyboard activation and automatic merging in MDI.")
SRCategoryAttribute("Window Style")
System.ComponentModel.DefaultValueAttribute()
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
Managed Extensions for C++ 
[SRDescriptionAttribute("Specifies the primary MenuStrip for the Form. This property is used for keyboard activation and automatic merging in MDI.")]
[SRCategoryAttribute("Window Style")]
[System.ComponentModel.DefaultValueAttribute()]
[System.ComponentModel.TypeConverterAttribute("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
);
C++/CLI 
[SRDescriptionAttribute("Specifies the primary MenuStrip for the Form. This property is used for keyboard activation and automatic merging in MDI.")]
[SRCategoryAttribute("Window Style")]
[System.ComponentModel.DefaultValueAttribute()]
[System.ComponentModel.TypeConverterAttribute("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);
}

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

© 2014 Data Techniques, Inc. All Rights Reserved.