# C1.WPF.FlexGrid.IUndoableAction

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_FlexGrid_IUndoableAction" data-uid="C1.WPF.FlexGrid.IUndoableAction" class="text-break">IUndoableAction Interface
</h1>
  <div class="markdown level0 summary"><p>Defines the methods required to implement undoable action objects.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.FlexGrid.html">C1.WPF.FlexGrid</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.FlexSheet.4.6.2.dll</h6>
  <h5 id="C1_WPF_FlexGrid_IUndoableAction_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IUndoableAction</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IUndoableAction</code></pre>
  </div>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_FlexGrid_IUndoableAction_Redo" data-uid="C1.WPF.FlexGrid.IUndoableAction.Redo">
          <a class="xref" href="C1.WPF.FlexGrid.IUndoableAction.Redo.html#C1_WPF_FlexGrid_IUndoableAction_Redo">Redo()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the effect of the last undone action.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_IUndoableAction_SaveNewState" data-uid="C1.WPF.FlexGrid.IUndoableAction.SaveNewState">
          <a class="xref" href="C1.WPF.FlexGrid.IUndoableAction.SaveNewState.html#C1_WPF_FlexGrid_IUndoableAction_SaveNewState">SaveNewState()</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the state after the action (the state before should be saved in the constructor).</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_IUndoableAction_Undo" data-uid="C1.WPF.FlexGrid.IUndoableAction.Undo">
          <a class="xref" href="C1.WPF.FlexGrid.IUndoableAction.Undo.html#C1_WPF_FlexGrid_IUndoableAction_Undo">Undo()</a>
        </td>
        <td class="markdown level1 summary"><p>Reverses the effect of the last action.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
