UpDownBase.ContextMenu Property


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

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

Property Value

The ContextMenu associated with the spin box.


The preferred way to associate a shortcut menu with a tree node is with the ContextMenuStrip property.

Applies to