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





Glossary Item Box

Syntax

Visual Basic (Declaration) 
<SRCategoryAttribute("Window Style")>
<System.ComponentModel.BrowsableAttribute(False)>
<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")>
Public Property Menu As System.Windows.Forms.MainMenu
Visual Basic (Usage)Copy Code
Dim instance As InputDialog
Dim value As System.Windows.Forms.MainMenu
 
instance.Menu = value
 
value = instance.Menu
C# 
[SRCategoryAttribute("Window Style")]
[System.ComponentModel.BrowsableAttribute(false)]
[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")]
public System.Windows.Forms.MainMenu Menu {get; set;}
JScript 
SRCategoryAttribute("Window Style")
System.ComponentModel.BrowsableAttribute()
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")
public function get,set Menu : System.Windows.Forms.MainMenu
Managed Extensions for C++ 
[SRCategoryAttribute("Window Style")]
[System.ComponentModel.BrowsableAttribute(false)]
[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")]
public: __property System.Windows.Forms.MainMenu* get_Menu();
public: __property void set_Menu( 
   System.Windows.Forms.MainMenu* value
);
C++/CLI 
[SRCategoryAttribute("Window Style")]
[System.ComponentModel.BrowsableAttribute(false)]
[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")]
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

© 2014 Data Techniques, Inc. All Rights Reserved.