# GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType.ScrollBarMode

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxCellType_ScrollBarMode_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType.ScrollBarMode*">ScrollBarMode Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxCellType_ScrollBarMode_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType.ScrollBarMode*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxCellType_ScrollBarMode" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType.ScrollBarMode">ScrollBarMode</h4>
<div class="markdown level1 summary"><p>Gets or sets how to display the scroll bars.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ScrollBarMode ScrollBarMode { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property ScrollBarMode As ScrollBarMode</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ScrollBarMode.html">ScrollBarMode</a></td>
      <td><p>One of the <span class="xref">GrapeCity.Win.Spread.InputMan.CellType.GcTextBox.ScrollBarMode</span> enumeration values
that indicates whether the scroll bars are displayed as soon as
the contents exceed the length of the control.
<br>The default is <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ScrollBarMode.html#GrapeCity_Win_Spread_InputMan_CellType_ScrollBarMode_Fixed">Fixed</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxCellType_ScrollBarMode_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>To display the scroll bars, you must have the <span class="xref">GrapeCity.Win.Spread.InputMan.CellType.GcTextBox.Multiline</span> property set to <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>.
If set to <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ScrollBarMode.html#GrapeCity_Win_Spread_InputMan_CellType_ScrollBarMode_Fixed">Fixed</a>, the scroll bars
are displayed all the time. If set to <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ScrollBarMode.html#GrapeCity_Win_Spread_InputMan_CellType_ScrollBarMode_Automatic">Automatic</a>,
the scroll bars are visible only when the contents in the control exceed
the length of the control.</p>
</div>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxCellType_ScrollBarMode_seealso">See Also</h5>
<div class="seealso">
    <div><span class="xref">ScrollBars</span></div>
</div>
</div>
