ReportViewer.ShowContextMenu 屬性
指出是否可以看見 [內容] 功能表。
命名空間: Microsoft.Reporting.WinForms
組件: Microsoft.ReportViewer.WinForms (在 microsoft.reportviewer.winforms.dll)
語法
'宣告
<DefaultValueAttribute(True)> _
<SRDescriptionAttribute("ShowContextMenuDesc")> _
<CategoryAttribute("Appearance")> _
Public Property ShowContextMenu As Boolean
'用途
Dim instance As ReportViewer
Dim value As Boolean
value = instance.ShowContextMenu
instance.ShowContextMenu = value
[DefaultValueAttribute(true)]
[SRDescriptionAttribute("ShowContextMenuDesc")]
[CategoryAttribute("Appearance")]
public bool ShowContextMenu { get; set; }
[DefaultValueAttribute(true)]
[CategoryAttribute(L"Appearance")]
public:
bool ShowContextMenu {
bool get ();
void set (bool value);
}
/** @property */
public boolean get_ShowContextMenu ()
/** @property */
public void set_ShowContextMenu (boolean value)
public function get ShowContextMenu () : boolean
public function set ShowContextMenu (value : boolean)
屬性值
Boolean 值。預設值是 true。
另請參閱
參考
ReportViewer 類別
ReportViewer 成員
Microsoft.Reporting.WinForms 命名空間