# C1.Win.TrueDBGrid.Util.SBar

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_TrueDBGrid_Util_SBar" data-uid="C1.Win.TrueDBGrid.Util.SBar" class="text-break">SBar Class
</h1>
  <div class="markdown level0 summary"><p>Base class for the grid's scrollbars</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"><span class="xref">SBar</span></div>
      <div class="level2"><a class="xref" href="C1.Win.TrueDBGrid.Util.HBar.html">HBar</a></div>
      <div class="level2"><a class="xref" href="C1.Win.TrueDBGrid.Util.VBar.html">VBar</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.TrueDBGrid.Util.html">C1.Win.TrueDBGrid.Util</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.TrueDBGrid.10.dll</h6>
  <h5 id="C1_Win_TrueDBGrid_Util_SBar_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class SBar : IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class SBar
    Implements IDisposable</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="C1_Win_TrueDBGrid_Util_SBar__ctor_C1_Win_TrueDBGrid_BaseGrid_View_System_Windows_Forms_ScrollBar_" data-uid="C1.Win.TrueDBGrid.Util.SBar.#ctor(C1.Win.TrueDBGrid.BaseGrid.View,System.Windows.Forms.ScrollBar)">
          <a class="xref" href="C1.Win.TrueDBGrid.Util.SBar.-ctor.html#C1_Win_TrueDBGrid_Util_SBar__ctor_C1_Win_TrueDBGrid_BaseGrid_View_System_Windows_Forms_ScrollBar_">SBar(View, ScrollBar)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the SBar class</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_Win_TrueDBGrid_Util_SBar_Style" data-uid="C1.Win.TrueDBGrid.Util.SBar.Style">
          <a class="xref" href="C1.Win.TrueDBGrid.Util.SBar.Style.html#C1_Win_TrueDBGrid_Util_SBar_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the visibility of the scrollbars.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TrueDBGrid_Util_SBar_Value" data-uid="C1.Win.TrueDBGrid.Util.SBar.Value">
          <a class="xref" href="C1.Win.TrueDBGrid.Util.SBar.Value.html#C1_Win_TrueDBGrid_Util_SBar_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a numeric value that represents the current position of the scroll box on the scroll bar control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TrueDBGrid_Util_SBar_Visible" data-uid="C1.Win.TrueDBGrid.Util.SBar.Visible">
          <a class="xref" href="C1.Win.TrueDBGrid.Util.SBar.Visible.html#C1_Win_TrueDBGrid_Util_SBar_Visible">Visible</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the scrollbar is displayed.</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_TrueDBGrid_Util_SBar_Dispose_System_Boolean_" data-uid="C1.Win.TrueDBGrid.Util.SBar.Dispose(System.Boolean)">
          <a class="xref" href="C1.Win.TrueDBGrid.Util.SBar.Dispose.html#C1_Win_TrueDBGrid_Util_SBar_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Overloaded. Releases the resources used by the class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TrueDBGrid_Util_SBar_OnScroll_System_Object_System_Windows_Forms_ScrollEventArgs_" data-uid="C1.Win.TrueDBGrid.Util.SBar.OnScroll(System.Object,System.Windows.Forms.ScrollEventArgs)">
          <a class="xref" href="C1.Win.TrueDBGrid.Util.SBar.OnScroll.html#C1_Win_TrueDBGrid_Util_SBar_OnScroll_System_Object_System_Windows_Forms_ScrollEventArgs_">OnScroll(object, ScrollEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the scroll box has been moved by either a mouse or keyboard action.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
