LEADTOOLS Medical (Leadtools.Medical3D assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
ContextMenu Property
See Also 
Leadtools.Medical3D Namespace > Medical3DControl Class : ContextMenu Property



Gets or sets the shortcut menu associated with the control.

Syntax

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Medical3D requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features