# C1.Framework.ScrollableStackPanel

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Framework_ScrollableStackPanel" data-uid="C1.Framework.ScrollableStackPanel" class="text-break">ScrollableStackPanel Class
</h1>
  <div class="markdown level0 summary"><p>Panel that contains two scroll buttons (<a class="xref" href="C1.Framework.ScrollableStackPanel.ButtonPrevious.html#C1_Framework_ScrollableStackPanel_ButtonPrevious">ButtonPrevious</a>,
<a class="xref" href="C1.Framework.ScrollableStackPanel.ButtonNext.html#C1_Framework_ScrollableStackPanel_ButtonNext">ButtonNext</a>) and a <a class="xref" href="C1.Framework.ScrollableStackPanel.ScrollablePanel.html#C1_Framework_ScrollableStackPanel_ScrollablePanel">ScrollablePanel</a> with
content that can be scrolled by clicking the buttons.</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="C1.Framework.Element.html">Element</a></div>
    <div class="level2"><a class="xref" href="C1.Framework.BasePanel.html">BasePanel</a></div>
    <div class="level3"><a class="xref" href="C1.Framework.StackPanel.html">StackPanel</a></div>
    <div class="level4"><span class="xref">ScrollableStackPanel</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.Win.Accessibility.ISupportUia.html">ISupportUia</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Framework.html">C1.Framework</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.10.dll</h6>
  <h5 id="C1_Framework_ScrollableStackPanel_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ScrollableStackPanel : StackPanel, ISupportUia</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ScrollableStackPanel
    Inherits StackPanel
    Implements ISupportUia</code></pre>
  </div>
  <h5 id="C1_Framework_ScrollableStackPanel_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>To use this class, assign the <a class="xref" href="C1.Framework.Element.html">Element</a> that contains the
scrollable content should be assigned to the <a class="xref" href="C1.Framework.ScrollableStackPanel.ContentElement.html#C1_Framework_ScrollableStackPanel_ContentElement">ContentElement</a>
property.</p>
</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="C1_Framework_ScrollableStackPanel__ctor" data-uid="C1.Framework.ScrollableStackPanel.#ctor">
          <a class="xref" href="C1.Framework.ScrollableStackPanel.-ctor.html#C1_Framework_ScrollableStackPanel__ctor">ScrollableStackPanel()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.Framework.ScrollableStackPanel.html">ScrollableStackPanel</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ScrollableStackPanel__ctor_C1_Framework_Style_" data-uid="C1.Framework.ScrollableStackPanel.#ctor(C1.Framework.Style)">
          <a class="xref" href="C1.Framework.ScrollableStackPanel.-ctor.html#C1_Framework_ScrollableStackPanel__ctor_C1_Framework_Style_">ScrollableStackPanel(Style)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.Framework.ScrollableStackPanel.html">ScrollableStackPanel</a>.</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="C1_Framework_ScrollableStackPanel_ButtonNext" data-uid="C1.Framework.ScrollableStackPanel.ButtonNext">
          <a class="xref" href="C1.Framework.ScrollableStackPanel.ButtonNext.html#C1_Framework_ScrollableStackPanel_ButtonNext">ButtonNext</a>
        </td>
        <td class="markdown level1 summary"><p>Returns reference to the <a class="xref" href="C1.Framework.RepeatButtonElement.html">RepeatButtonElement</a> element working for navigation to next elements.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ScrollableStackPanel_ButtonPrevious" data-uid="C1.Framework.ScrollableStackPanel.ButtonPrevious">
          <a class="xref" href="C1.Framework.ScrollableStackPanel.ButtonPrevious.html#C1_Framework_ScrollableStackPanel_ButtonPrevious">ButtonPrevious</a>
        </td>
        <td class="markdown level1 summary"><p>Returns reference to the <a class="xref" href="C1.Framework.RepeatButtonElement.html">RepeatButtonElement</a> element working for navigation to previous elements.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ScrollableStackPanel_ButtonSize" data-uid="C1.Framework.ScrollableStackPanel.ButtonSize">
          <a class="xref" href="C1.Framework.ScrollableStackPanel.ButtonSize.html#C1_Framework_ScrollableStackPanel_ButtonSize">ButtonSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a> value determining height and width in pixels of navigation buttons.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ScrollableStackPanel_ContentElement" data-uid="C1.Framework.ScrollableStackPanel.ContentElement">
          <a class="xref" href="C1.Framework.ScrollableStackPanel.ContentElement.html#C1_Framework_ScrollableStackPanel_ContentElement">ContentElement</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.Framework.Element.html">Element</a> which displays the scrollable content.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ScrollableStackPanel_ForceScrollButtons" data-uid="C1.Framework.ScrollableStackPanel.ForceScrollButtons">
          <a class="xref" href="C1.Framework.ScrollableStackPanel.ForceScrollButtons.html#C1_Framework_ScrollableStackPanel_ForceScrollButtons">ForceScrollButtons</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the scroll buttons should be visible even when they are not needed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ScrollableStackPanel_ScrollDelay" data-uid="C1.Framework.ScrollableStackPanel.ScrollDelay">
          <a class="xref" href="C1.Framework.ScrollableStackPanel.ScrollDelay.html#C1_Framework_ScrollableStackPanel_ScrollDelay">ScrollDelay</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the time before buttons start firing while pressed, in milliseconds</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ScrollableStackPanel_ScrollDelayHover" data-uid="C1.Framework.ScrollableStackPanel.ScrollDelayHover">
          <a class="xref" href="C1.Framework.ScrollableStackPanel.ScrollDelayHover.html#C1_Framework_ScrollableStackPanel_ScrollDelayHover">ScrollDelayHover</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the time before buttons start firing when the mouse hovers over them
(even without pressing them)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ScrollableStackPanel_ScrollInterval" data-uid="C1.Framework.ScrollableStackPanel.ScrollInterval">
          <a class="xref" href="C1.Framework.ScrollableStackPanel.ScrollInterval.html#C1_Framework_ScrollableStackPanel_ScrollInterval">ScrollInterval</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the time between scroll steps while buttons are pressed, in milliseconds.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ScrollableStackPanel_ScrollPosition" data-uid="C1.Framework.ScrollableStackPanel.ScrollPosition">
          <a class="xref" href="C1.Framework.ScrollableStackPanel.ScrollPosition.html#C1_Framework_ScrollableStackPanel_ScrollPosition">ScrollPosition</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the scroll position (negative pixel offset, like the <a class="xref" href="C1.Framework.XView.html">XView</a> control).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ScrollableStackPanel_ScrollStep" data-uid="C1.Framework.ScrollableStackPanel.ScrollStep">
          <a class="xref" href="C1.Framework.ScrollableStackPanel.ScrollStep.html#C1_Framework_ScrollableStackPanel_ScrollStep">ScrollStep</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the scroll step, in pixels.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ScrollableStackPanel_ScrollablePanel" data-uid="C1.Framework.ScrollableStackPanel.ScrollablePanel">
          <a class="xref" href="C1.Framework.ScrollableStackPanel.ScrollablePanel.html#C1_Framework_ScrollableStackPanel_ScrollablePanel">ScrollablePanel</a>
        </td>
        <td class="markdown level1 summary"><p>Returns reference to the child <a class="xref" href="C1.Framework.ScrollableStackPanel.ScrollablePanel.html#C1_Framework_ScrollableStackPanel_ScrollablePanel">ScrollablePanel</a> element.</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_Framework_ScrollableStackPanel_Layout_System_Drawing_Graphics_" data-uid="C1.Framework.ScrollableStackPanel.Layout(System.Drawing.Graphics)">
          <a class="xref" href="C1.Framework.ScrollableStackPanel.Layout.html#C1_Framework_ScrollableStackPanel_Layout_System_Drawing_Graphics_">Layout(Graphics)</a>
        </td>
        <td class="markdown level1 summary"><p>Layout this element based on its style and contents.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
