# FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_UndoRedo_CellDragDropUndoAction" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction" class="text-break">CellDragDropUndoAction Class
</h1>
  <div class="markdown level0 summary"><p>Represents the undo actions for dragging and dropping a range of cells.</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"><a class="xref" href="FarPoint.Win.Spread.Action.html">Action</a></div>
    <div class="level2"><a class="xref" href="FarPoint.Win.Spread.UndoRedo.UndoAction.html">UndoAction</a></div>
    <div class="level3"><span class="xref">CellDragDropUndoAction</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.UndoRedo.html">FarPoint.Win.Spread.UndoRedo</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_UndoRedo_CellDragDropUndoAction_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CellDragDropUndoAction : UndoAction, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CellDragDropUndoAction
    Inherits UndoAction
    Implements ICloneable</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="FarPoint_Win_Spread_UndoRedo_CellDragDropUndoAction__ctor_FarPoint_Win_Spread_SheetView_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_System_Boolean_" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.#ctor(FarPoint.Win.Spread.SheetView,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.-ctor.html#FarPoint_Win_Spread_UndoRedo_CellDragDropUndoAction__ctor_FarPoint_Win_Spread_SheetView_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_System_Boolean_">CellDragDropUndoAction(SheetView, int, int, int, int, int, int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new undo action for a cell for the drag and drop operation.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragDropUndoAction_cellInfo" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.cellInfo">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.cellInfo.html">cellInfo</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the previous contents of the target range (before the drag and drop).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragDropUndoAction_cellInfoSource" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.cellInfoSource">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.cellInfoSource.html">cellInfoSource</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the previous contents of the source range (before the drag and drop), if copy is false.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragDropUndoAction_column" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.column">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.column.html">column</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the starting column index of the range to drag and drop.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragDropUndoAction_columnCount" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.columnCount">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.columnCount.html">columnCount</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the number of columns to drag and drop.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragDropUndoAction_columnInfo" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.columnInfo">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.columnInfo.html">columnInfo</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the column-level contents of the target range (before the drag and drop).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragDropUndoAction_columnInfoSource" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.columnInfoSource">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.columnInfoSource.html">columnInfoSource</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the column-level contents of source range (before the drag and drop), if copy is false.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragDropUndoAction_copy" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.copy">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.copy.html">copy</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether to copy the range (true to copy; false to move).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragDropUndoAction_rangeGroupInfosSource" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.rangeGroupInfosSource">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.rangeGroupInfosSource.html">rangeGroupInfosSource</a>
        </td>
        <td class="markdown level1 summary"><p>The source <a class="xref" href="FarPoint.Win.Spread.RangeGroupInfo.html">RangeGroupInfo</a> objects in drag drop range.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragDropUndoAction_rangeGroupInfosTarget" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.rangeGroupInfosTarget">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.rangeGroupInfosTarget.html">rangeGroupInfosTarget</a>
        </td>
        <td class="markdown level1 summary"><p>The target <a class="xref" href="FarPoint.Win.Spread.RangeGroupInfo.html">RangeGroupInfo</a> objects in drag drop range.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragDropUndoAction_row" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.row">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.row.html">row</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the starting row index of the range to drag and drop.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragDropUndoAction_rowCount" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.rowCount">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.rowCount.html">rowCount</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the number of rows to drag and drop.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragDropUndoAction_rowInfo" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.rowInfo">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.rowInfo.html">rowInfo</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the row-level contents of the target range (before the drag and drop).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragDropUndoAction_rowInfoSource" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.rowInfoSource">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.rowInfoSource.html">rowInfoSource</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the row-level contents of source range (before the drag and drop), if copy is false.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragDropUndoAction_sheetView" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.sheetView">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.sheetView.html">sheetView</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the sheet that contains column resizing.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragDropUndoAction_targetColumn" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.targetColumn">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.targetColumn.html">targetColumn</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the destination column index for the drag and drop.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragDropUndoAction_targetRow" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.targetRow">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.targetRow.html">targetRow</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the destination row index for the drag and drop.</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="FarPoint_Win_Spread_UndoRedo_CellDragDropUndoAction_PerformUndoAction_System_Object_" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.PerformUndoAction(System.Object)">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.PerformUndoAction.html#FarPoint_Win_Spread_UndoRedo_CellDragDropUndoAction_PerformUndoAction_System_Object_">PerformUndoAction(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs the cell drag-drop.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragDropUndoAction_SaveUndoState" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.SaveUndoState">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.SaveUndoState.html#FarPoint_Win_Spread_UndoRedo_CellDragDropUndoAction_SaveUndoState">SaveUndoState()</a>
        </td>
        <td class="markdown level1 summary"><p>This implemenation does nothing, since undo state is passed to the constructor.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragDropUndoAction_ToString" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.ToString">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.ToString.html#FarPoint_Win_Spread_UndoRedo_CellDragDropUndoAction_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a string that represents this object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragDropUndoAction_Undo_System_Object_" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.Undo(System.Object)">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragDropUndoAction.Undo.html#FarPoint_Win_Spread_UndoRedo_CellDragDropUndoAction_Undo_System_Object_">Undo(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Undoes the cell drag-drop.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
