ContextMenu Property (LicenseDialog)
In This Topic
Syntax
'Declaration
<SRCategoryAttribute("CatBehavior")>
<System.ComponentModel.DefaultValueAttribute("")>
<SRDescriptionAttribute("ControlContextMenuDescr")>
<System.ComponentModel.BrowsableAttribute(False)>
Public Overridable Property ContextMenu As System.Windows.Forms.ContextMenu
'Usage
Dim instance As LicenseDialog
Dim value As System.Windows.Forms.ContextMenu
instance.ContextMenu = value
value = instance.ContextMenu
[SRCategory("CatBehavior")]
[System.ComponentModel.DefaultValue("")]
[SRDescription("ControlContextMenuDescr")]
[System.ComponentModel.Browsable(false)]
public virtual System.Windows.Forms.ContextMenu ContextMenu {get; set;}
public read-write property ContextMenu: System.Windows.Forms.ContextMenu; virtual;
SRCategoryAttribute("CatBehavior")
System.ComponentModel.DefaultValueAttribute("")
SRDescriptionAttribute("ControlContextMenuDescr")
System.ComponentModel.BrowsableAttribute()
public function get,set ContextMenu : System.Windows.Forms.ContextMenu
[SRCategory("CatBehavior")]
[System.ComponentModel.DefaultValue("")]
[SRDescription("ControlContextMenuDescr")]
[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("CatBehavior")]
[System.ComponentModel.DefaultValue("")]
[SRDescription("ControlContextMenuDescr")]
[System.ComponentModel.Browsable(false)]
public:
virtual property System.Windows.Forms.ContextMenu^ ContextMenu {
System.Windows.Forms.ContextMenu^ get();
void set ( System.Windows.Forms.ContextMenu^ value);
}
Requirements
Target Platforms: .NET CLR 4.8 or higher
See Also