ContextMenu Property
See Also 
SourceCode.Workflow.WizardFramework.Authentication Namespace > CredentialsDialog Class : ContextMenu Property



Glossary Item Box

Syntax

Visual Basic (Declaration)  
<SRCategoryAttribute("Behavior")>
<DefaultValueAttribute()>
<SRDescriptionAttribute("The shortcut menu to display when the user right-clicks the control.")>
<BrowsableAttribute(False)>
Public Overridable Property ContextMenu As ContextMenu
Visual Basic (Usage) Copy Code
Dim instance As CredentialsDialog
Dim value As ContextMenu
 
instance.ContextMenu = value
 
value = instance.ContextMenu
C#  
[SRCategory("Behavior")]
[DefaultValue()]
[SRDescription("The shortcut menu to display when the user right-clicks the control.")]
[Browsable(false)]
public virtual ContextMenu ContextMenu {get; set;}
C++/CLI  
[SRCategory("Behavior")]
[DefaultValue()]
[SRDescription("The shortcut menu to display when the user right-clicks the control.")]
[Browsable(false)]
public:
virtual property ContextMenu^ ContextMenu {
   ContextMenu^ get();
   void set (    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