# C1.WPF.ReportViewer.C1ReportViewerToolbar

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_ReportViewer_C1ReportViewerToolbar" data-uid="C1.WPF.ReportViewer.C1ReportViewerToolbar" class="text-break">C1ReportViewerToolbar Class
</h1>
  <div class="markdown level0 summary"><p>Provides tools for controlling a <a class="xref" href="C1.WPF.ReportViewer.C1ReportViewer.html">C1ReportViewer</a>.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.threading.dispatcherobject">DispatcherObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.dependencyobject">DependencyObject</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.visual">Visual</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level6"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.control">Control</a></div>
    <div class="level7"><span class="xref">C1ReportViewerToolbar</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.animation.ianimatable">IAnimatable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iframeworkinputelement">IFrameworkInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iinputelement">IInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iqueryambient">IQueryAmbient</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.ReportViewer.html">C1.WPF.ReportViewer</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.ReportViewer.4.6.2.dll</h6>
  <h5 id="C1_WPF_ReportViewer_C1ReportViewerToolbar_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;PageNumber&quot;, Type = typeof(TextBox))]
[TemplatePart(Name = &quot;Zoom&quot;, Type = typeof(C1ComboBox))]
[TemplatePart(Name = &quot;Find&quot;, Type = typeof(TextBox))]
[TemplatePart(Name = &quot;FitWidth&quot;, Type = typeof(ToggleButton))]
[TemplatePart(Name = &quot;OnePage&quot;, Type = typeof(ToggleButton))]
[TemplatePart(Name = &quot;TwoPages&quot;, Type = typeof(ToggleButton))]
public class C1ReportViewerToolbar : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;PageNumber&quot;, Type:=GetType(TextBox))&gt;
&lt;TemplatePart(Name:=&quot;Zoom&quot;, Type:=GetType(C1ComboBox))&gt;
&lt;TemplatePart(Name:=&quot;Find&quot;, Type:=GetType(TextBox))&gt;
&lt;TemplatePart(Name:=&quot;FitWidth&quot;, Type:=GetType(ToggleButton))&gt;
&lt;TemplatePart(Name:=&quot;OnePage&quot;, Type:=GetType(ToggleButton))&gt;
&lt;TemplatePart(Name:=&quot;TwoPages&quot;, Type:=GetType(ToggleButton))&gt;
Public Class C1ReportViewerToolbar
    Inherits Control
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_ReportViewer_C1ReportViewerToolbar__ctor" data-uid="C1.WPF.ReportViewer.C1ReportViewerToolbar.#ctor">
          <a class="xref" href="C1.WPF.ReportViewer.C1ReportViewerToolbar.-ctor.html#C1_WPF_ReportViewer_C1ReportViewerToolbar__ctor">C1ReportViewerToolbar()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.ReportViewer.C1ReportViewerToolbar.html">C1ReportViewerToolbar</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_ReportViewer_C1ReportViewerToolbar_FindResultsProperty" data-uid="C1.WPF.ReportViewer.C1ReportViewerToolbar.FindResultsProperty">
          <a class="xref" href="C1.WPF.ReportViewer.C1ReportViewerToolbar.FindResultsProperty.html">FindResultsProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.ReportViewer.C1ReportViewerToolbar.FindResults.html#C1_WPF_ReportViewer_C1ReportViewerToolbar_FindResults">FindResults</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ReportViewer_C1ReportViewerToolbar_ViewerProperty" data-uid="C1.WPF.ReportViewer.C1ReportViewerToolbar.ViewerProperty">
          <a class="xref" href="C1.WPF.ReportViewer.C1ReportViewerToolbar.ViewerProperty.html">ViewerProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.ReportViewer.C1ReportViewerToolbar.Viewer.html#C1_WPF_ReportViewer_C1ReportViewerToolbar_Viewer">Viewer</a> dependency property.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_ReportViewer_C1ReportViewerToolbar_FindResults" data-uid="C1.WPF.ReportViewer.C1ReportViewerToolbar.FindResults">
          <a class="xref" href="C1.WPF.ReportViewer.C1ReportViewerToolbar.FindResults.html#C1_WPF_ReportViewer_C1ReportViewerToolbar_FindResults">FindResults</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a string to display the number of current find results.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ReportViewer_C1ReportViewerToolbar_Viewer" data-uid="C1.WPF.ReportViewer.C1ReportViewerToolbar.Viewer">
          <a class="xref" href="C1.WPF.ReportViewer.C1ReportViewerToolbar.Viewer.html#C1_WPF_ReportViewer_C1ReportViewerToolbar_Viewer">Viewer</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.WPF.ReportViewer.C1ReportViewer.html">C1ReportViewer</a> this toolbar controls.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_ReportViewer_C1ReportViewerToolbar_OnApplyTemplate" data-uid="C1.WPF.ReportViewer.C1ReportViewerToolbar.OnApplyTemplate">
          <a class="xref" href="C1.WPF.ReportViewer.C1ReportViewerToolbar.OnApplyTemplate.html#C1_WPF_ReportViewer_C1ReportViewerToolbar_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>Builds the visual tree for the <a class="xref" href="C1.WPF.ReportViewer.C1ReportViewerToolbar.html">C1ReportViewerToolbar</a> control when a new template is applied.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
