# GrapeCity.Win.Spread.InputMan.CellType.EditBase.TextLength

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_TextLength_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.EditBase.TextLength*">TextLength Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_TextLength_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.EditBase.TextLength*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_TextLength" data-uid="GrapeCity.Win.Spread.InputMan.CellType.EditBase.TextLength">TextLength</h4>
<div class="markdown level1 summary"><p>Gets the length of the text.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Browsable(false)]
public virtual int TextLength { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Browsable(False)&gt;
Public Overridable ReadOnly Property TextLength As Integer</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="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><p>The number of characters contained in the text of the control.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_TextLength_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>You can use this property to determine the number of characters in a string for tasks such as searching for specific strings of text within the text of the control, where knowledge of the total number of characters is needed.</p>
</div>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_TextLength_seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.EditBase.Text.html#GrapeCity_Win_Spread_InputMan_CellType_EditBase_Text">Text</a></div>
</div>
</div>
