ImageMan.Net Version 3 Summer 2012 Release
ContextMenu Property
See Also  Send Feedback
DTI.ImageMan.Winforms Namespace > AnnotationToolstrip Class : ContextMenu Property





Glossary Item Box

Syntax

Visual Basic (Declaration) 
<System.ComponentModel.BrowsableAttribute(False)>
<SRCategoryAttribute("Behavior")>
<SRDescriptionAttribute("The shortcut menu to display when the user right-clicks the control.")>
<System.ComponentModel.DefaultValueAttribute()>
Public Overridable Property ContextMenu As System.Windows.Forms.ContextMenu
Visual Basic (Usage)Copy Code
Dim instance As AnnotationToolstrip
Dim value As System.Windows.Forms.ContextMenu
 
instance.ContextMenu = value
 
value = instance.ContextMenu
C# 
[System.ComponentModel.BrowsableAttribute(false)]
[SRCategoryAttribute("Behavior")]
[SRDescriptionAttribute("The shortcut menu to display when the user right-clicks the control.")]
[System.ComponentModel.DefaultValueAttribute()]
public virtual System.Windows.Forms.ContextMenu ContextMenu {get; set;}
JScript 
System.ComponentModel.BrowsableAttribute()
SRCategoryAttribute("Behavior")
SRDescriptionAttribute("The shortcut menu to display when the user right-clicks the control.")
System.ComponentModel.DefaultValueAttribute()
public function get,set ContextMenu : System.Windows.Forms.ContextMenu
Managed Extensions for C++ 
[System.ComponentModel.BrowsableAttribute(false)]
[SRCategoryAttribute("Behavior")]
[SRDescriptionAttribute("The shortcut menu to display when the user right-clicks the control.")]
[System.ComponentModel.DefaultValueAttribute()]
public: __property virtual System.Windows.Forms.ContextMenu* get_ContextMenu();
public: __property virtual void set_ContextMenu( 
   System.Windows.Forms.ContextMenu* value
);
C++/CLI 
[System.ComponentModel.BrowsableAttribute(false)]
[SRCategoryAttribute("Behavior")]
[SRDescriptionAttribute("The shortcut menu to display when the user right-clicks the control.")]
[System.ComponentModel.DefaultValueAttribute()]
public:
virtual property System.Windows.Forms.ContextMenu^ ContextMenu {
   System.Windows.Forms.ContextMenu^ get();
   void set (    System.Windows.Forms.ContextMenu^ 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.