# FarPoint.Win.Spread.DefaultRangeGroupModel.Move

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_DefaultRangeGroupModel_Move_" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.Move*">Move Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_DefaultRangeGroupModel_Move_" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.Move*"></a>
<h4 id="FarPoint_Win_Spread_DefaultRangeGroupModel_Move_System_Int32_System_Int32_System_Int32_System_Boolean_" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.Move(System.Int32,System.Int32,System.Int32,System.Boolean)">Move(int, int, int, bool)</h4>
<div class="markdown level1 summary"><p>Moves an outline (range group) by the specified indexes.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Move(int fromIndex, int toIndex, int moveCount, bool isRowGroup)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Move(fromIndex As Integer, toIndex As Integer, moveCount As Integer, isRowGroup As Boolean)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">fromIndex</span></td>
      <td><p>Index from which to begin the move</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">toIndex</span></td>
      <td><p>Index at which to paste the range</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">moveCount</span></td>
      <td><p>Number to move</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">isRowGroup</span></td>
      <td><p>Whether the outline (range group) is of rows (or else columns)</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="FarPoint.Win.Spread.IRangeGroupModel.Move.html#FarPoint_Win_Spread_IRangeGroupModel_Move_System_Int32_System_Int32_System_Int32_System_Boolean_">IRangeGroupModel.Move(int, int, int, bool)</a></div>
</div>
