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

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_EditBase_Undo_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.EditBase.Undo*">Undo Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_EditBase_Undo_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.EditBase.Undo*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_EditBase_Undo" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.EditBase.Undo">Undo()</h4>
<div class="markdown level1 summary"><p>Undoes the last edit operation 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 void Undo()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Undo()</code></pre>
</div>
<h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_EditBase_Undo_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method will undo the last <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.clipboard">Clipboard</a> or text change operation performed in the control if the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.EditBase.CanUndo.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_EditBase_CanUndo">CanUndo</a> property returns <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>.</p>
</div>
</div>
