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





Glossary Item Box

Syntax

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