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

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_Clear_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.EditBase.Clear*">Clear Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_Clear_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.EditBase.Clear*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_Clear" data-uid="GrapeCity.Win.Spread.InputMan.CellType.EditBase.Clear">Clear()</h4>
<div class="markdown level1 summary"><p>Clears all text in the control.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual void Clear()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Sub Clear()</code></pre>
</div>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_Clear_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>You can use this method to clear the contents of
the control instead of assigning an empty string to the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.EditBase.Text.html#GrapeCity_Win_Spread_InputMan_CellType_EditBase_Text">Text</a> property.</p>
</div>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_Clear_seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.EditBase.Paste.html#GrapeCity_Win_Spread_InputMan_CellType_EditBase_Paste">Paste</a>()</div>
    <div><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.EditBase.Copy.html#GrapeCity_Win_Spread_InputMan_CellType_EditBase_Copy">Copy</a>()</div>
    <div><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.EditBase.Cut.html#GrapeCity_Win_Spread_InputMan_CellType_EditBase_Cut">Cut</a>()</div>
    <div><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.EditBase.Undo.html#GrapeCity_Win_Spread_InputMan_CellType_EditBase_Undo">Undo</a>()</div>
    <div><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.EditBase.CanUndo.html#GrapeCity_Win_Spread_InputMan_CellType_EditBase_CanUndo">CanUndo</a></div>
</div>
</div>
