SpreadsheetGear.Windows.Forms Namespace > ShapeExplorer Class : ContextMenu Property |
'Declaration
<SRCategoryAttribute("Behavior")> <System.ComponentModel.DefaultValueAttribute()> <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 ShapeExplorer Dim value As System.Windows.Forms.ContextMenu instance.ContextMenu = value value = instance.ContextMenu
[SRCategory("Behavior")] [System.ComponentModel.DefaultValue()] [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;}
public read-write property ContextMenu: System.Windows.Forms.ContextMenu; virtual;
SRCategoryAttribute("Behavior") System.ComponentModel.DefaultValueAttribute() SRDescriptionAttribute("The shortcut menu to display when the user right-clicks the control.") System.ComponentModel.BrowsableAttribute() public function get,set ContextMenu : System.Windows.Forms.ContextMenu
[SRCategory("Behavior")] [System.ComponentModel.DefaultValue()] [SRDescription("The shortcut menu to display when the user right-clicks the control.")] [System.ComponentModel.Browsable(false)] public: __property virtual System.Windows.Forms.ContextMenu* get_ContextMenu(); public: __property virtual void set_ContextMenu( System.Windows.Forms.ContextMenu* value );
[SRCategory("Behavior")] [System.ComponentModel.DefaultValue()] [SRDescription("The shortcut menu to display when the user right-clicks the control.")] [System.ComponentModel.Browsable(false)] public: virtual property System.Windows.Forms.ContextMenu^ ContextMenu { System.Windows.Forms.ContextMenu^ get(); void set ( System.Windows.Forms.ContextMenu^ value); }
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