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

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxCellType_WrapMode_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType.WrapMode*">WrapMode Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxCellType_WrapMode_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType.WrapMode*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxCellType_WrapMode" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType.WrapMode">WrapMode</h4>
<div class="markdown level1 summary"><p>Gets or sets the wrap rule when the <span class="xref">GrapeCity.Win.Spread.InputMan.CellType.GcTextBox</span> control is multiline.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public WrapMode WrapMode { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property WrapMode As WrapMode</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.WrapMode.html">WrapMode</a></td>
      <td><p>A <span class="xref">GrapeCity.Win.Spread.InputMan.CellType.GcTextBox.WrapMode</span> enumeration that indicates the rule for wrapping the text.
<br>The default is <b>WrapMode.WordWrap</b>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxCellType_WrapMode_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The <b>WrapMode</b> property takes effect for text wrap behaviors.
The <b>WrapMode.WordWrap</b> value means wrap the text by word.
The <b>WrapMode.CharWrap</b> value means wrap the text by character.</p>
<div class="NOTE"><h5>note</h5><p>
  This property only takes effect when MultiLine is true.
</p></div>
</div>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxCellType_WrapMode_seealso">See Also</h5>
<div class="seealso">
    <div><span class="xref">Multiline</span></div>
    <div><span class="xref">AcceptsReturn</span></div>
    <div><span class="xref">AcceptsTab</span></div>
    <div><span class="xref">ScrollBars</span></div>
</div>
</div>
