Visual Basic (Declaration) | |
---|---|
<DefaultValueAttribute()> <SRDescriptionAttribute("The shortcut menu to display when the user right-clicks the control.")> <SRCategoryAttribute("Behavior")> Public Overridable Property ContextMenuStrip As ContextMenuStrip |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Medical3DControl Dim value As ContextMenuStrip instance.ContextMenuStrip = value value = instance.ContextMenuStrip |
C# | |
---|---|
[DefaultValueAttribute()] [SRDescriptionAttribute("The shortcut menu to display when the user right-clicks the control.")] [SRCategoryAttribute("Behavior")] public virtual ContextMenuStrip ContextMenuStrip {get; set;} |
C++/CLI | |
---|---|
[DefaultValueAttribute()] [SRDescriptionAttribute("The shortcut menu to display when the user right-clicks the control.")] [SRCategoryAttribute("Behavior")] public: virtual property ContextMenuStrip^ ContextMenuStrip { ContextMenuStrip^ get(); void set ( ContextMenuStrip^ value); } |
Property Value
The System.Windows.Forms.ContextMenuStrip for this control, or null if there is no System.Windows.Forms.ContextMenuStrip. The default is null.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7