Επεξεργασία

Κοινή χρήση μέσω


UpDownBase.ContextMenu Property

Definition

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

public:
 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.

Remarks

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

Applies to