Share via


ReportViewer.ToolStripRenderer Property

Gets or sets the ToolStripRenderer used to customize the look and feel of the ReportViewer control's toolbar as well as the context menu on the report.

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> _
Public Property ToolStripRenderer As ToolStripRenderer
'Usage
Dim instance As ReportViewer
Dim value As ToolStripRenderer

value = instance.ToolStripRenderer

instance.ToolStripRenderer = value
[BrowsableAttribute(false)] 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] 
public ToolStripRenderer ToolStripRenderer { get; set; }
[BrowsableAttribute(false)] 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility::Hidden)] 
public:
property ToolStripRenderer^ ToolStripRenderer {
    ToolStripRenderer^ get ();
    void set (ToolStripRenderer^ value);
}
/** @property */
public ToolStripRenderer get_ToolStripRenderer ()

/** @property */
public void set_ToolStripRenderer (ToolStripRenderer value)
public function get ToolStripRenderer () : ToolStripRenderer

public function set ToolStripRenderer (value : ToolStripRenderer)

Property Value

A ToolStripRenderer object. By default, a ToolStripProfessionalRenderer object is returned.

Remarks

This property behaves in the same way as the Renderer property in ToolStrip.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WinForms Namespace