JAMS Developer Guide
ContextMenu Property (AgentCtl)


MVPSI.JAMS Namespace > AgentCtl Class : ContextMenu Property
Syntax
'Declaration
 
<System.ComponentModel.DefaultValueAttribute()>
<SRCategoryAttribute("Behavior")>
<SRDescriptionAttribute("The shortcut menu to display when the user right-clicks the control.")>
<System.ComponentModel.BrowsableAttribute(False)>
Public Overridable Property ContextMenu As System.Windows.Forms.ContextMenu
'Usage
 
Dim instance As AgentCtl
Dim value As System.Windows.Forms.ContextMenu
 
instance.ContextMenu = value
 
value = instance.ContextMenu
[System.ComponentModel.DefaultValue()]
[SRCategory("Behavior")]
[SRDescription("The shortcut menu to display when the user right-clicks the control.")]
[System.ComponentModel.Browsable(false)]
public virtual System.Windows.Forms.ContextMenu ContextMenu {get; set;}
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

Reference

AgentCtl Class
AgentCtl Members