# C1.Win.Accessibility.Items.BaseInterfaces.IUiaScrollProvider

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Accessibility_Items_BaseInterfaces_IUiaScrollProvider" data-uid="C1.Win.Accessibility.Items.BaseInterfaces.IUiaScrollProvider" class="text-break">IUiaScrollProvider Interface
</h1>
  <div class="markdown level0 summary"><p>The Scroll pattern exposes a control's ability to change the portion of its visible region
that is visible to the user by scrolling its content.</p>
<p>Examples:</p>
<pre><code>Listboxes
TreeViews
other containers that maintain a content area larger than the control's visible region
</code></pre>
<p>Note that scrollbars themselves should not support the Scrollable pattern; they support the
RangeValue pattern.</p>
<p>Servers must normalize scrolling (0 to 100).</p>
<p>This public interface represents UI elements that scroll their content.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Accessibility.Items.BaseInterfaces.html">C1.Win.Accessibility.Items.BaseInterfaces</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.10.dll</h6>
  <h5 id="C1_Win_Accessibility_Items_BaseInterfaces_IUiaScrollProvider_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IUiaScrollProvider</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IUiaScrollProvider</code></pre>
  </div>
  <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_Win_Accessibility_Items_BaseInterfaces_IUiaScrollProvider_HorizontalScrollPercent" data-uid="C1.Win.Accessibility.Items.BaseInterfaces.IUiaScrollProvider.HorizontalScrollPercent">
          <a class="xref" href="C1.Win.Accessibility.Items.BaseInterfaces.IUiaScrollProvider.HorizontalScrollPercent.html#C1_Win_Accessibility_Items_BaseInterfaces_IUiaScrollProvider_HorizontalScrollPercent">HorizontalScrollPercent</a>
        </td>
        <td class="markdown level1 summary"><p>Get the current horizontal scroll position</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Accessibility_Items_BaseInterfaces_IUiaScrollProvider_HorizontalViewSize" data-uid="C1.Win.Accessibility.Items.BaseInterfaces.IUiaScrollProvider.HorizontalViewSize">
          <a class="xref" href="C1.Win.Accessibility.Items.BaseInterfaces.IUiaScrollProvider.HorizontalViewSize.html#C1_Win_Accessibility_Items_BaseInterfaces_IUiaScrollProvider_HorizontalViewSize">HorizontalViewSize</a>
        </td>
        <td class="markdown level1 summary"><p>Equal to the horizontal percentage of the entire control that is currently viewable.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Accessibility_Items_BaseInterfaces_IUiaScrollProvider_HorizontallyScrollable" data-uid="C1.Win.Accessibility.Items.BaseInterfaces.IUiaScrollProvider.HorizontallyScrollable">
          <a class="xref" href="C1.Win.Accessibility.Items.BaseInterfaces.IUiaScrollProvider.HorizontallyScrollable.html#C1_Win_Accessibility_Items_BaseInterfaces_IUiaScrollProvider_HorizontallyScrollable">HorizontallyScrollable</a>
        </td>
        <td class="markdown level1 summary"><p>True if control can scroll horizontally</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Accessibility_Items_BaseInterfaces_IUiaScrollProvider_VerticalScrollPercent" data-uid="C1.Win.Accessibility.Items.BaseInterfaces.IUiaScrollProvider.VerticalScrollPercent">
          <a class="xref" href="C1.Win.Accessibility.Items.BaseInterfaces.IUiaScrollProvider.VerticalScrollPercent.html#C1_Win_Accessibility_Items_BaseInterfaces_IUiaScrollProvider_VerticalScrollPercent">VerticalScrollPercent</a>
        </td>
        <td class="markdown level1 summary"><p>Get the current vertical scroll position</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Accessibility_Items_BaseInterfaces_IUiaScrollProvider_VerticalViewSize" data-uid="C1.Win.Accessibility.Items.BaseInterfaces.IUiaScrollProvider.VerticalViewSize">
          <a class="xref" href="C1.Win.Accessibility.Items.BaseInterfaces.IUiaScrollProvider.VerticalViewSize.html#C1_Win_Accessibility_Items_BaseInterfaces_IUiaScrollProvider_VerticalViewSize">VerticalViewSize</a>
        </td>
        <td class="markdown level1 summary"><p>Equal to the horizontal percentage of the entire control that is currently viewable.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Accessibility_Items_BaseInterfaces_IUiaScrollProvider_VerticallyScrollable" data-uid="C1.Win.Accessibility.Items.BaseInterfaces.IUiaScrollProvider.VerticallyScrollable">
          <a class="xref" href="C1.Win.Accessibility.Items.BaseInterfaces.IUiaScrollProvider.VerticallyScrollable.html#C1_Win_Accessibility_Items_BaseInterfaces_IUiaScrollProvider_VerticallyScrollable">VerticallyScrollable</a>
        </td>
        <td class="markdown level1 summary"><p>True if control can scroll vertically</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_Win_Accessibility_Items_BaseInterfaces_IUiaScrollProvider_Scroll_System_Windows_Automation_ScrollAmount_System_Windows_Automation_ScrollAmount_" data-uid="C1.Win.Accessibility.Items.BaseInterfaces.IUiaScrollProvider.Scroll(System.Windows.Automation.ScrollAmount,System.Windows.Automation.ScrollAmount)">
          <a class="xref" href="C1.Win.Accessibility.Items.BaseInterfaces.IUiaScrollProvider.Scroll.html#C1_Win_Accessibility_Items_BaseInterfaces_IUiaScrollProvider_Scroll_System_Windows_Automation_ScrollAmount_System_Windows_Automation_ScrollAmount_">Scroll(ScrollAmount, ScrollAmount)</a>
        </td>
        <td class="markdown level1 summary"><p>Request to scroll horizontally and vertically by the specified amount.
The ability to call this method and simultaneously scroll horizontally
and vertically provides simple panning support.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Accessibility_Items_BaseInterfaces_IUiaScrollProvider_SetScrollPercent_System_Double_System_Double_" data-uid="C1.Win.Accessibility.Items.BaseInterfaces.IUiaScrollProvider.SetScrollPercent(System.Double,System.Double)">
          <a class="xref" href="C1.Win.Accessibility.Items.BaseInterfaces.IUiaScrollProvider.SetScrollPercent.html#C1_Win_Accessibility_Items_BaseInterfaces_IUiaScrollProvider_SetScrollPercent_System_Double_System_Double_">SetScrollPercent(double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Request to set the current horizontal and Vertical scroll position
by percent (0-100).  Passing in the value of &quot;-1&quot;, represented by the
constant &quot;NoScroll&quot;, will indicate that scrolling in that direction
should be ignored.
The ability to call this method and simultaneously scroll horizontally and
vertically provides simple panning support.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
