Visual Basic (Declaration) | |
---|---|
<BrowsableAttribute(False)> <DefaultValueAttribute()> <SRCategoryAttribute("Behavior")> <SRDescriptionAttribute("The shortcut menu to display when the user right-clicks the control.")> Public Overridable Property ContextMenu As ContextMenu |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Medical3DControl Dim value As ContextMenu instance.ContextMenu = value value = instance.ContextMenu |
C# | |
---|---|
[BrowsableAttribute(false)] [DefaultValueAttribute()] [SRCategoryAttribute("Behavior")] [SRDescriptionAttribute("The shortcut menu to display when the user right-clicks the control.")] public virtual ContextMenu ContextMenu {get; set;} |
C++/CLI | |
---|---|
[BrowsableAttribute(false)] [DefaultValueAttribute()] [SRCategoryAttribute("Behavior")] [SRDescriptionAttribute("The shortcut menu to display when the user right-clicks the control.")] public: virtual property ContextMenu^ ContextMenu { ContextMenu^ get(); void set ( ContextMenu^ value); } |
Property Value
A System.Windows.Forms.ContextMenu that represents the shortcut menu associated with the control.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7