# GrapeCity.ActiveReports.Viewer.Wpf.View.MainToolbar

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_Viewer_Wpf_View_MainToolbar" data-uid="GrapeCity.ActiveReports.Viewer.Wpf.View.MainToolbar" class="text-break">MainToolbar Class
</h1>
  <div class="markdown level0 summary"><p>Represents the main toolbar.</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">MainToolbar</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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Viewer.Wpf.View.html">GrapeCity.ActiveReports.Viewer.Wpf.View</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Viewer.Wpf.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Viewer_Wpf_View_MainToolbar_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;CurPageTextArea&quot;, Type = typeof(TextBox))]
[TemplatePart(Name = &quot;ZoomComboBox&quot;, Type = typeof(ZoomComboBox))]
public class MainToolbar : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IDisposable</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="GrapeCity_ActiveReports_Viewer_Wpf_View_MainToolbar__ctor" data-uid="GrapeCity.ActiveReports.Viewer.Wpf.View.MainToolbar.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.Viewer.Wpf.View.MainToolbar.-ctor.html#GrapeCity_ActiveReports_Viewer_Wpf_View_MainToolbar__ctor">MainToolbar()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Viewer.Wpf.View.MainToolbar.html">MainToolbar</a> class.</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="GrapeCity_ActiveReports_Viewer_Wpf_View_MainToolbar_Dispose" data-uid="GrapeCity.ActiveReports.Viewer.Wpf.View.MainToolbar.Dispose">
          <a class="xref" href="GrapeCity.ActiveReports.Viewer.Wpf.View.MainToolbar.Dispose.html#GrapeCity_ActiveReports_Viewer_Wpf_View_MainToolbar_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Viewer_Wpf_View_MainToolbar_OnApplyTemplate" data-uid="GrapeCity.ActiveReports.Viewer.Wpf.View.MainToolbar.OnApplyTemplate">
          <a class="xref" href="GrapeCity.ActiveReports.Viewer.Wpf.View.MainToolbar.OnApplyTemplate.html#GrapeCity_ActiveReports_Viewer_Wpf_View_MainToolbar_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes the current page text area of the main toolbar.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
