# C1.WPF.FlexGrid.InsertDeleteColumnAction

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_FlexGrid_InsertDeleteColumnAction" data-uid="C1.WPF.FlexGrid.InsertDeleteColumnAction" class="text-break">InsertDeleteColumnAction Class
</h1>
  <div class="markdown level0 summary"><p>Undoable insert/delete column 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">InsertDeleteColumnAction</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_InsertDeleteColumnAction_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class InsertDeleteColumnAction : IUndoableAction</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class InsertDeleteColumnAction
    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_InsertDeleteColumnAction__ctor_C1_WPF_FlexGrid_C1FlexSheet_" data-uid="C1.WPF.FlexGrid.InsertDeleteColumnAction.#ctor(C1.WPF.FlexGrid.C1FlexSheet)">
          <a class="xref" href="C1.WPF.FlexGrid.InsertDeleteColumnAction.-ctor.html#C1_WPF_FlexGrid_InsertDeleteColumnAction__ctor_C1_WPF_FlexGrid_C1FlexSheet_">InsertDeleteColumnAction(C1FlexSheet)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.FlexGrid.InsertDeleteColumnAction.html">InsertDeleteColumnAction</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_InsertDeleteColumnAction_Redo" data-uid="C1.WPF.FlexGrid.InsertDeleteColumnAction.Redo">
          <a class="xref" href="C1.WPF.FlexGrid.InsertDeleteColumnAction.Redo.html#C1_WPF_FlexGrid_InsertDeleteColumnAction_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_InsertDeleteColumnAction_SaveNewState" data-uid="C1.WPF.FlexGrid.InsertDeleteColumnAction.SaveNewState">
          <a class="xref" href="C1.WPF.FlexGrid.InsertDeleteColumnAction.SaveNewState.html#C1_WPF_FlexGrid_InsertDeleteColumnAction_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_InsertDeleteColumnAction_Undo" data-uid="C1.WPF.FlexGrid.InsertDeleteColumnAction.Undo">
          <a class="xref" href="C1.WPF.FlexGrid.InsertDeleteColumnAction.Undo.html#C1_WPF_FlexGrid_InsertDeleteColumnAction_Undo">Undo()</a>
        </td>
        <td class="markdown level1 summary"><p>Reverts the effect of the last action.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
