# GrapeCity.ActiveReports.Framework.Implementation.MouseWheelZoomBehavior

## Content

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



  <h1 id="GrapeCity_ActiveReports_Framework_Implementation_MouseWheelZoomBehavior" data-uid="GrapeCity.ActiveReports.Framework.Implementation.MouseWheelZoomBehavior" class="text-break">MouseWheelZoomBehavior Class
</h1>
  <div class="markdown level0 summary"><p>Represents a behavior that is invoked on mouse wheel scroll to handle zooming.</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="GrapeCity.ActiveReports.Framework.Behaviors.Behavior-1.html">Behavior</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.scrollviewer">ScrollViewer</a>&gt;</div>
    <div class="level4"><a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.ScrollBehavior.html">ScrollBehavior</a></div>
    <div class="level5"><span class="xref">MouseWheelZoomBehavior</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.ActiveReports.Framework.Behaviors.IBehavior.html">IBehavior</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.html">GrapeCity.ActiveReports.Framework.Implementation</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Viewer.Wpf.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Framework_Implementation_MouseWheelZoomBehavior_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class MouseWheelZoomBehavior : ScrollBehavior, IBehavior</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_Framework_Implementation_MouseWheelZoomBehavior__ctor" data-uid="GrapeCity.ActiveReports.Framework.Implementation.MouseWheelZoomBehavior.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.MouseWheelZoomBehavior.-ctor.html#GrapeCity_ActiveReports_Framework_Implementation_MouseWheelZoomBehavior__ctor">MouseWheelZoomBehavior()</a>
        </td>
        <td class="markdown level1 summary"></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_Framework_Implementation_MouseWheelZoomBehavior_Attach_System_Windows_Controls_ScrollViewer_" data-uid="GrapeCity.ActiveReports.Framework.Implementation.MouseWheelZoomBehavior.Attach(System.Windows.Controls.ScrollViewer)">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.MouseWheelZoomBehavior.Attach.html#GrapeCity_ActiveReports_Framework_Implementation_MouseWheelZoomBehavior_Attach_System_Windows_Controls_ScrollViewer_">Attach(ScrollViewer)</a>
        </td>
        <td class="markdown level1 summary"><p>Attaches the behavior to the specified host.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Framework_Implementation_MouseWheelZoomBehavior_Detach_System_Windows_Controls_ScrollViewer_" data-uid="GrapeCity.ActiveReports.Framework.Implementation.MouseWheelZoomBehavior.Detach(System.Windows.Controls.ScrollViewer)">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.MouseWheelZoomBehavior.Detach.html#GrapeCity_ActiveReports_Framework_Implementation_MouseWheelZoomBehavior_Detach_System_Windows_Controls_ScrollViewer_">Detach(ScrollViewer)</a>
        </td>
        <td class="markdown level1 summary"><p>Detaches the behavior from the specified host.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
