# C1.WPF.FlexGrid.EditAction

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_FlexGrid_EditAction" data-uid="C1.WPF.FlexGrid.EditAction" class="text-break">EditAction Class
</h1>
  <div class="markdown level0 summary"><p>Undoable edit action.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">EditAction</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.WPF.FlexGrid.IUndoableAction.html">IUndoableAction</a></div>
  </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_EditAction_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class EditAction : IUndoableAction</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class EditAction
    Implements IUndoableAction</code></pre>
  </div>
  <h3 id="constructors">Constructors
</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_EditAction__ctor_C1_WPF_FlexGrid_C1FlexSheet_C1_WPF_FlexGrid_CellRange_" data-uid="C1.WPF.FlexGrid.EditAction.#ctor(C1.WPF.FlexGrid.C1FlexSheet,C1.WPF.FlexGrid.CellRange)">
          <a class="xref" href="C1.WPF.FlexGrid.EditAction.-ctor.html#C1_WPF_FlexGrid_EditAction__ctor_C1_WPF_FlexGrid_C1FlexSheet_C1_WPF_FlexGrid_CellRange_">EditAction(C1FlexSheet, CellRange)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.FlexGrid.EditAction.html">EditAction</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_EditAction_Redo" data-uid="C1.WPF.FlexGrid.EditAction.Redo">
          <a class="xref" href="C1.WPF.FlexGrid.EditAction.Redo.html#C1_WPF_FlexGrid_EditAction_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_EditAction_SaveNewState" data-uid="C1.WPF.FlexGrid.EditAction.SaveNewState">
          <a class="xref" href="C1.WPF.FlexGrid.EditAction.SaveNewState.html#C1_WPF_FlexGrid_EditAction_SaveNewState">SaveNewState()</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the state of the control after the action.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_EditAction_Undo" data-uid="C1.WPF.FlexGrid.EditAction.Undo">
          <a class="xref" href="C1.WPF.FlexGrid.EditAction.Undo.html#C1_WPF_FlexGrid_EditAction_Undo">Undo()</a>
        </td>
        <td class="markdown level1 summary"><p>Reverts the effect of the last action.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
