SpreadsheetGear 2012
ContextMenuStrip Property (WorkbookDesigner)






Syntax
'Declaration
 
<SRCategoryAttribute("Behavior")>
<System.ComponentModel.DefaultValueAttribute()>
<SRDescriptionAttribute("The shortcut menu to display when the user right-clicks the control.")>
Public Overridable Property ContextMenuStrip As System.Windows.Forms.ContextMenuStrip
'Usage
 
Dim instance As WorkbookDesigner
Dim value As System.Windows.Forms.ContextMenuStrip
 
instance.ContextMenuStrip = value
 
value = instance.ContextMenuStrip
[SRCategory("Behavior")]
[System.ComponentModel.DefaultValue()]
[SRDescription("The shortcut menu to display when the user right-clicks the control.")]
public virtual System.Windows.Forms.ContextMenuStrip ContextMenuStrip {get; set;}
public read-write property ContextMenuStrip: System.Windows.Forms.ContextMenuStrip; virtual; 
SRCategoryAttribute("Behavior")
System.ComponentModel.DefaultValueAttribute()
SRDescriptionAttribute("The shortcut menu to display when the user right-clicks the control.")
public function get,set ContextMenuStrip : System.Windows.Forms.ContextMenuStrip
[SRCategory("Behavior")]
[System.ComponentModel.DefaultValue()]
[SRDescription("The shortcut menu to display when the user right-clicks the control.")]
public: __property virtual System.Windows.Forms.ContextMenuStrip* get_ContextMenuStrip();
public: __property virtual void set_ContextMenuStrip( 
   System.Windows.Forms.ContextMenuStrip* value
);
[SRCategory("Behavior")]
[System.ComponentModel.DefaultValue()]
[SRDescription("The shortcut menu to display when the user right-clicks the control.")]
public:
virtual property System.Windows.Forms.ContextMenuStrip^ ContextMenuStrip {
   System.Windows.Forms.ContextMenuStrip^ get();
   void set (    System.Windows.Forms.ContextMenuStrip^ 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

Reference

WorkbookDesigner Class
WorkbookDesigner Members

Send Feedback