C1ReportViewer Task-Based Help / Hiding the Toolbar
Hiding the Toolbar

If you choose to create a customized toolbar (for an example, see the Customizing the Toolbar topic), you may need to hide the default toolbar available in the C1ReportViewer control. You can hide the built-in toolbar using the ToolbarVisibility property. For example:

XAML
Copy Code
<c1:C1ReportViewer x:Name="C1ReportViewer1" ToolbarVisibility="Collapsed"/>

 

Visual Basic
Copy Code
Me.C1ReportViewer.ToolbarVisibility = Visibility.Collapsed

 

C#
Copy Code
this.C1ReportViewer.ToolbarVisibility = Visibility.Collapsed;