# C1.WPF.FlexGrid.PasteAction

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_FlexGrid_PasteAction" data-uid="C1.WPF.FlexGrid.PasteAction" class="text-break">PasteAction Class
</h1>
  <div class="markdown level0 summary"><p>Undoable Paste 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">PasteAction</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_PasteAction_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class PasteAction : IUndoableAction</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class PasteAction
    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_PasteAction__ctor_C1_WPF_FlexGrid_C1FlexSheet_" data-uid="C1.WPF.FlexGrid.PasteAction.#ctor(C1.WPF.FlexGrid.C1FlexSheet)">
          <a class="xref" href="C1.WPF.FlexGrid.PasteAction.-ctor.html#C1_WPF_FlexGrid_PasteAction__ctor_C1_WPF_FlexGrid_C1FlexSheet_">PasteAction(C1FlexSheet)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.WPF.FlexGrid.PasteAction.html">PasteAction</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_PasteAction_PasteCell_System_Int32_System_Int32_System_Object_System_Object_" data-uid="C1.WPF.FlexGrid.PasteAction.PasteCell(System.Int32,System.Int32,System.Object,System.Object)">
          <a class="xref" href="C1.WPF.FlexGrid.PasteAction.PasteCell.html#C1_WPF_FlexGrid_PasteAction_PasteCell_System_Int32_System_Int32_System_Object_System_Object_">PasteCell(int, int, object, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds information about an individual cell changing within a paste operation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_PasteAction_Redo" data-uid="C1.WPF.FlexGrid.PasteAction.Redo">
          <a class="xref" href="C1.WPF.FlexGrid.PasteAction.Redo.html#C1_WPF_FlexGrid_PasteAction_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_PasteAction_SaveNewState" data-uid="C1.WPF.FlexGrid.PasteAction.SaveNewState">
          <a class="xref" href="C1.WPF.FlexGrid.PasteAction.SaveNewState.html#C1_WPF_FlexGrid_PasteAction_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_PasteAction_Undo" data-uid="C1.WPF.FlexGrid.PasteAction.Undo">
          <a class="xref" href="C1.WPF.FlexGrid.PasteAction.Undo.html#C1_WPF_FlexGrid_PasteAction_Undo">Undo()</a>
        </td>
        <td class="markdown level1 summary"><p>Reverts the effect of the last action.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
