Visual Basic (Declaration) | |
---|---|
<SRCategoryAttribute("Window Style")> <DefaultValueAttribute()> <SRDescriptionAttribute("The main menu of the form. This must be set to a component of type MainMenu.")> <TypeConverterAttribute("System.ComponentModel.ReferenceConverter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")> <BrowsableAttribute(False)> Public Property Menu As MainMenu |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As CredentialsDialog Dim value As MainMenu instance.Menu = value value = instance.Menu |
C# | |
---|---|
[SRCategory("Window Style")] [DefaultValue()] [SRDescription("The main menu of the form. This must be set to a component of type MainMenu.")] [TypeConverter("System.ComponentModel.ReferenceConverter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")] [Browsable(false)] public MainMenu Menu {get; set;} |
C++/CLI | |
---|---|
[SRCategory("Window Style")] [DefaultValue()] [SRDescription("The main menu of the form. This must be set to a component of type MainMenu.")] [TypeConverter("System.ComponentModel.ReferenceConverter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")] [Browsable(false)] public: property MainMenu^ Menu { MainMenu^ get(); void set ( MainMenu^ 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