# GrapeCity.ActiveReports.Framework.Implementation.PanModeBehavior

## Content

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



  <h1 id="GrapeCity_ActiveReports_Framework_Implementation_PanModeBehavior" data-uid="GrapeCity.ActiveReports.Framework.Implementation.PanModeBehavior" class="text-break">PanModeBehavior Class
</h1>
  <div class="markdown level0 summary"><p>Represents a behavior that implements Mouse Pan mode for a scrollable control.</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">PanModeBehavior</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_PanModeBehavior_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class PanModeBehavior : 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_PanModeBehavior__ctor" data-uid="GrapeCity.ActiveReports.Framework.Implementation.PanModeBehavior.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.PanModeBehavior.-ctor.html#GrapeCity_ActiveReports_Framework_Implementation_PanModeBehavior__ctor">PanModeBehavior()</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_PanModeBehavior_Attach_System_Windows_Controls_ScrollViewer_" data-uid="GrapeCity.ActiveReports.Framework.Implementation.PanModeBehavior.Attach(System.Windows.Controls.ScrollViewer)">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.PanModeBehavior.Attach.html#GrapeCity_ActiveReports_Framework_Implementation_PanModeBehavior_Attach_System_Windows_Controls_ScrollViewer_">Attach(ScrollViewer)</a>
        </td>
        <td class="markdown level1 summary"><p>Attaches to the specified host.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Framework_Implementation_PanModeBehavior_Detach_System_Windows_Controls_ScrollViewer_" data-uid="GrapeCity.ActiveReports.Framework.Implementation.PanModeBehavior.Detach(System.Windows.Controls.ScrollViewer)">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.PanModeBehavior.Detach.html#GrapeCity_ActiveReports_Framework_Implementation_PanModeBehavior_Detach_System_Windows_Controls_ScrollViewer_">Detach(ScrollViewer)</a>
        </td>
        <td class="markdown level1 summary"><p>Detaches from the specified host.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Framework_Implementation_PanModeBehavior_OnIsEnabledChanged_System_Boolean_" data-uid="GrapeCity.ActiveReports.Framework.Implementation.PanModeBehavior.OnIsEnabledChanged(System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.PanModeBehavior.OnIsEnabledChanged.html#GrapeCity_ActiveReports_Framework_Implementation_PanModeBehavior_OnIsEnabledChanged_System_Boolean_">OnIsEnabledChanged(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Enable / disable the behavior.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
