System.Windows.Forms.Control.ContextMenuStrip Property

Gets or sets the System.Windows.Forms.ContextMenuStrip associated with this control.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

If a System.Windows.Forms.ContextMenu has also been assigned to the control, the System.Windows.Forms.ContextMenu takes precedence over the System.Windows.Forms.ContextMenuStrip.

Requirements

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