ContextMenuStrip Property

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 override ContextMenuStrip ContextMenuStrip { get; set; }

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
© 2015 Microsoft