# FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_UndoRedo_CellDragFillUndoAction" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction" class="text-break">CellDragFillUndoAction Class
</h1>
  <div class="markdown level0 summary"><p>Represents the undo actions for dragging and filling 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">CellDragFillUndoAction</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_CellDragFillUndoAction_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CellDragFillUndoAction : UndoAction, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CellDragFillUndoAction
    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_CellDragFillUndoAction__ctor_FarPoint_Win_Spread_SheetView_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_FarPoint_Win_Spread_FillDirection_System_Boolean_" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.#ctor(FarPoint.Win.Spread.SheetView,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,FarPoint.Win.Spread.FillDirection,System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.-ctor.html#FarPoint_Win_Spread_UndoRedo_CellDragFillUndoAction__ctor_FarPoint_Win_Spread_SheetView_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_FarPoint_Win_Spread_FillDirection_System_Boolean_">CellDragFillUndoAction(SheetView, int, int, int, int, int, FillDirection, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new undo action for a cell drag and fill 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_CellDragFillUndoAction_cellInfo" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.cellInfo">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.cellInfo.html">cellInfo</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the previous contents of the target range (before the drag and fill).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragFillUndoAction_column" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.column">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.column.html">column</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the starting column index of the range to drag and fill.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragFillUndoAction_columnCount" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.columnCount">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.columnCount.html">columnCount</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the number of columns in the range to drag and fill.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragFillUndoAction_columnInfo" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.columnInfo">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.columnInfo.html">columnInfo</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the previous column-level settings of the target range (before drag and fill).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragFillUndoAction_dataOnly" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.dataOnly">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.dataOnly.html">dataOnly</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether to fill data only.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragFillUndoAction_fillCount" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.fillCount">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.fillCount.html">fillCount</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the number of rows or columns to fill.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragFillUndoAction_fillDirection" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.fillDirection">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.fillDirection.html">fillDirection</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the direction of the fill operation.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragFillUndoAction_row" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.row">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.row.html">row</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the starting row index of the range to drag and fill.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragFillUndoAction_rowCount" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.rowCount">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.rowCount.html">rowCount</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the number of rows in the range to drag and fill.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragFillUndoAction_rowInfo" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.rowInfo">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.rowInfo.html">rowInfo</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the previous row-level settings of the target range (before drag and fill).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragFillUndoAction_sheetView" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.sheetView">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.sheetView.html">sheetView</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the sheet that contains column resizing.</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_CellDragFillUndoAction_GetTargetCellRange" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.GetTargetCellRange">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.GetTargetCellRange.html#FarPoint_Win_Spread_UndoRedo_CellDragFillUndoAction_GetTargetCellRange">GetTargetCellRange()</a>
        </td>
        <td class="markdown level1 summary"><p>Calculates the target CellRange object for the drag-fill operation based on the source range and fill direction.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragFillUndoAction_PerformUndoAction_System_Object_" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.PerformUndoAction(System.Object)">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.PerformUndoAction.html#FarPoint_Win_Spread_UndoRedo_CellDragFillUndoAction_PerformUndoAction_System_Object_">PerformUndoAction(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs the cell drag and fill operation.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragFillUndoAction_SaveUndoState" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.SaveUndoState">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.SaveUndoState.html#FarPoint_Win_Spread_UndoRedo_CellDragFillUndoAction_SaveUndoState">SaveUndoState()</a>
        </td>
        <td class="markdown level1 summary"><p>Saves undo state information before drag-fill.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_UndoRedo_CellDragFillUndoAction_ToString" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.ToString">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.ToString.html#FarPoint_Win_Spread_UndoRedo_CellDragFillUndoAction_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_CellDragFillUndoAction_Undo_System_Object_" data-uid="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.Undo(System.Object)">
          <a class="xref" href="FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction.Undo.html#FarPoint_Win_Spread_UndoRedo_CellDragFillUndoAction_Undo_System_Object_">Undo(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Undoes the cell drag and fill.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
