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:
property ContextMenuStrip^ ContextMenuStrip {
	virtual ContextMenuStrip^ get() override;
	virtual void set(ContextMenuStrip^ value) override;
}

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
Show: