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

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_Undo_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.EditBase.Undo*">Undo Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_Undo_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.EditBase.Undo*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_Undo" data-uid="GrapeCity.Win.Spread.InputMan.CellType.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_Win_Spread_InputMan_CellType_EditBase_Undo_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method will undo the last <b>Clipboard</b> or text change operation performed in the control if the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.EditBase.CanUndo.html#GrapeCity_Win_Spread_InputMan_CellType_EditBase_CanUndo">CanUndo</a> property returns <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>.</p>
<div class="NOTE"><h5>note</h5><p>
This method has no effect if the control does not have focus or if the caret is already positioned in the visible region of the control.
</p></div>
</div>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_Undo_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.Clear.html#GrapeCity_Win_Spread_InputMan_CellType_EditBase_Clear">Clear</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.CanUndo.html#GrapeCity_Win_Spread_InputMan_CellType_EditBase_CanUndo">CanUndo</a></div>
</div>
</div>
