# GrapeCity.Wpf.SpreadSheet.CellType.Editors.EditBase.Clear

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_EditBase_Clear_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.EditBase.Clear*">Clear Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_EditBase_Clear_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.EditBase.Clear*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_EditBase_Clear" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.EditBase.Clear">Clear()</h4>
<div class="markdown level1 summary"><p>Clear all text of 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 void Clear()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Clear()</code></pre>
</div>
<h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_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 the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.EditBase.Text.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_EditBase_Text">Text</a> property an empty string.</p>
</div>
</div>
