UpDownBase.ContextMenuStrip Property


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

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

Public Overrides Property ContextMenuStrip As ContextMenuStrip

Property Value

Type: System.Windows.Forms.ContextMenuStrip

The ContextMenuStrip associated with the control.

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

.NET Framework
Available since 2.0
Return to top