System.Windows.Forms.Control.ContextMenu Property

Gets or sets the shortcut menu associated with the control.

Syntax

[System.ComponentModel.DefaultValue(null)]
[System.ComponentModel.Browsable(false)]
public virtual ContextMenu ContextMenu { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use a shortcut menus to give context-specific menu options to users when they right-click on the control.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0