PrintPreviewDialog.ContextMenuStrip 属性

定义

获取或设置该控件的快捷菜单。

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

属性值

该控件的 ContextMenuStrip;如果没有 null,则为 ContextMenuStrip。 默认值为 null

属性

注解

此属性与此类无关。

适用于