Redigera

Dela via


UpDownBase.ContextMenuStrip Property

Definition

Gets or sets the shortcut menu for the spin box (also known as an up-down control).

public:
 virtual property System::Windows::Forms::ContextMenuStrip ^ ContextMenuStrip { System::Windows::Forms::ContextMenuStrip ^ get(); void set(System::Windows::Forms::ContextMenuStrip ^ value); };
public override System.Windows.Forms.ContextMenuStrip ContextMenuStrip { get; set; }
public override System.Windows.Forms.ContextMenuStrip? ContextMenuStrip { get; set; }
member this.ContextMenuStrip : System.Windows.Forms.ContextMenuStrip with get, set
Public Overrides Property ContextMenuStrip As ContextMenuStrip

Property Value

The ContextMenuStrip associated with the control.

Remarks

The shortcut menu appears when the user right-clicks the spin box.

Applies to