UpDownBase.ContextMenuStrip 属性

定义

获取或设置数字显示框(也称为 up-down 控件)的快捷菜单。

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

属性值

与控件关联的 ContextMenuStrip

注解

当用户右键单击旋转框时,将显示快捷菜单。

适用于