UpDownBase.ContextMenuStrip Property


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

 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; }
member this.ContextMenuStrip : System.Windows.Forms.ContextMenuStrip with get, set
Public Overrides Property ContextMenuStrip As ContextMenuStrip

Property Value

The ContextMenuStrip associated with the control.


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

Applies to