ReportViewer.ShowContextMenu Property

Indicates whether the Context menu is visible.

Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)

Syntax

'Declaration
<DefaultValueAttribute(True)> _
<CategoryAttribute("Appearance")> _
Public Property ShowContextMenu As Boolean
'Usage
Dim instance As ReportViewer
Dim value As Boolean

value = instance.ShowContextMenu

instance.ShowContextMenu = value
[DefaultValueAttribute(true)] 
[CategoryAttribute("Appearance")] 
public bool ShowContextMenu { get; set; }
[DefaultValueAttribute(true)] 
[CategoryAttribute(L"Appearance")] 
public:
property 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)

Property Value

A Boolean value. The default is value true.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WinForms Namespace