共用方式為


ReportViewer.ShowContextMenu 屬性

指出是否可以看見 [內容] 功能表。

命名空間:  Microsoft.Reporting.WinForms
組件:  Microsoft.ReportViewer.WinForms (在 Microsoft.ReportViewer.WinForms.dll 中)

語法

'宣告
Public Property ShowContextMenu As Boolean
    Get
    Set
'用途
Dim instance As ReportViewer
Dim value As Boolean

value = instance.ShowContextMenu

instance.ShowContextMenu = value
public bool ShowContextMenu { get; set; }
public:
property bool ShowContextMenu {
    bool get ();
    void set (bool value);
}
member ShowContextMenu : bool with get, set
function get ShowContextMenu () : boolean
function set ShowContextMenu (value : boolean)

屬性值

型別:System.Boolean
Boolean 值。預設為 true。

請參閱

參考

ReportViewer 類別

Microsoft.Reporting.WinForms 命名空間