# GrapeCity.ActiveReports.Framework.Implementation.ScrollBehavior

## Content

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



  <h1 id="GrapeCity_ActiveReports_Framework_Implementation_ScrollBehavior" data-uid="GrapeCity.ActiveReports.Framework.Implementation.ScrollBehavior" class="text-break">ScrollBehavior Class
</h1>
  <div class="markdown level0 summary"><p>Represents the base class for <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.scrollviewer">ScrollViewer</a> behaviors.</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"><span class="xref">ScrollBehavior</span></div>
      <div class="level5"><a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.ChangeViewTypeBehavior.html">ChangeViewTypeBehavior</a></div>
      <div class="level5"><a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.DocumentBehavior.html">DocumentBehavior</a></div>
      <div class="level5"><a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.MouseWheelZoomBehavior.html">MouseWheelZoomBehavior</a></div>
      <div class="level5"><a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.NavigationBehavior.html">NavigationBehavior</a></div>
      <div class="level5"><a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.PanModeBehavior.html">PanModeBehavior</a></div>
      <div class="level5"><a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.SelectionBehaviorBase.html">SelectionBehaviorBase</a></div>
      <div class="level5"><a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.ThumbnailsNavigationBehavior.html">ThumbnailsNavigationBehavior</a></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_ScrollBehavior_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class ScrollBehavior : Behavior&lt;ScrollViewer&gt;, 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_ScrollBehavior__ctor" data-uid="GrapeCity.ActiveReports.Framework.Implementation.ScrollBehavior.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.ScrollBehavior.-ctor.html#GrapeCity_ActiveReports_Framework_Implementation_ScrollBehavior__ctor">ScrollBehavior()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.ScrollBehavior.html">ScrollBehavior</a> class.</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="GrapeCity_ActiveReports_Framework_Implementation_ScrollBehavior_IsEnabledProperty" data-uid="GrapeCity.ActiveReports.Framework.Implementation.ScrollBehavior.IsEnabledProperty">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.ScrollBehavior.IsEnabledProperty.html">IsEnabledProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.ScrollBehavior.IsEnabled.html#GrapeCity_ActiveReports_Framework_Implementation_ScrollBehavior_IsEnabled">IsEnabled</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Framework_Implementation_ScrollBehavior_Model" data-uid="GrapeCity.ActiveReports.Framework.Implementation.ScrollBehavior.Model">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.ScrollBehavior.Model.html">Model</a>
        </td>
        <td class="markdown level1 summary"><p>Model for single page and multipage views.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Framework_Implementation_ScrollBehavior_PaneViewModel" data-uid="GrapeCity.ActiveReports.Framework.Implementation.ScrollBehavior.PaneViewModel">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.ScrollBehavior.PaneViewModel.html">PaneViewModel</a>
        </td>
        <td class="markdown level1 summary"><p>Model of the current report pane.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Framework_Implementation_ScrollBehavior_ViewerModel" data-uid="GrapeCity.ActiveReports.Framework.Implementation.ScrollBehavior.ViewerModel">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.ScrollBehavior.ViewerModel.html">ViewerModel</a>
        </td>
        <td class="markdown level1 summary"><p>Model of the viewer.</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="GrapeCity_ActiveReports_Framework_Implementation_ScrollBehavior_IsEnabled" data-uid="GrapeCity.ActiveReports.Framework.Implementation.ScrollBehavior.IsEnabled">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.ScrollBehavior.IsEnabled.html#GrapeCity_ActiveReports_Framework_Implementation_ScrollBehavior_IsEnabled">IsEnabled</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether this behavior is enabled.</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_Framework_Implementation_ScrollBehavior_Attach_System_Windows_Controls_ScrollViewer_" data-uid="GrapeCity.ActiveReports.Framework.Implementation.ScrollBehavior.Attach(System.Windows.Controls.ScrollViewer)">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.ScrollBehavior.Attach.html#GrapeCity_ActiveReports_Framework_Implementation_ScrollBehavior_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_ScrollBehavior_Detach_System_Windows_Controls_ScrollViewer_" data-uid="GrapeCity.ActiveReports.Framework.Implementation.ScrollBehavior.Detach(System.Windows.Controls.ScrollViewer)">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.ScrollBehavior.Detach.html#GrapeCity_ActiveReports_Framework_Implementation_ScrollBehavior_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>
      <tr>
        <td id="GrapeCity_ActiveReports_Framework_Implementation_ScrollBehavior_FindPageUiElement_System_Windows_Controls_ScrollViewer_" data-uid="GrapeCity.ActiveReports.Framework.Implementation.ScrollBehavior.FindPageUiElement(System.Windows.Controls.ScrollViewer)">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.ScrollBehavior.FindPageUiElement.html#GrapeCity_ActiveReports_Framework_Implementation_ScrollBehavior_FindPageUiElement_System_Windows_Controls_ScrollViewer_">FindPageUiElement(ScrollViewer)</a>
        </td>
        <td class="markdown level1 summary"><p>Find the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a> in host object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Framework_Implementation_ScrollBehavior_OnInitialize_GrapeCity_Viewer_Common_ViewModel_ViewTypeViewModel_" data-uid="GrapeCity.ActiveReports.Framework.Implementation.ScrollBehavior.OnInitialize(GrapeCity.Viewer.Common.ViewModel.ViewTypeViewModel)">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.ScrollBehavior.OnInitialize.html#GrapeCity_ActiveReports_Framework_Implementation_ScrollBehavior_OnInitialize_GrapeCity_Viewer_Common_ViewModel_ViewTypeViewModel_">OnInitialize(ViewTypeViewModel)</a>
        </td>
        <td class="markdown level1 summary"><p>Fired when the ScrollBehavior was initialized.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Framework_Implementation_ScrollBehavior_OnIsEnabledChanged_System_Boolean_" data-uid="GrapeCity.ActiveReports.Framework.Implementation.ScrollBehavior.OnIsEnabledChanged(System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.ScrollBehavior.OnIsEnabledChanged.html#GrapeCity_ActiveReports_Framework_Implementation_ScrollBehavior_OnIsEnabledChanged_System_Boolean_">OnIsEnabledChanged(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Enable / disable behavior in inherited classes.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
