# FarPoint.Win.Spread.UndoRedo.GroupColumnUndoAction.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_UndoRedo_GroupColumnUndoAction__ctor_" data-uid="FarPoint.Win.Spread.UndoRedo.GroupColumnUndoAction.#ctor*">GroupColumnUndoAction Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_UndoRedo_GroupColumnUndoAction__ctor_" data-uid="FarPoint.Win.Spread.UndoRedo.GroupColumnUndoAction.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_UndoRedo_GroupColumnUndoAction__ctor_FarPoint_Win_Spread_SheetView_System_Int32_System_Boolean_" data-uid="FarPoint.Win.Spread.UndoRedo.GroupColumnUndoAction.#ctor(FarPoint.Win.Spread.SheetView,System.Int32,System.Boolean)">GroupColumnUndoAction(SheetView, int, bool)</h4>
<div class="markdown level1 summary"><p>Creates a new undo action for drag-drop of a column to the grouping bar.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public GroupColumnUndoAction(SheetView sheetView, int column, bool append)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(sheetView As SheetView, column As Integer, append 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="FarPoint.Win.Spread.SheetView.html">SheetView</a></td>
      <td><span class="parametername">sheetView</span></td>
      <td><p>SheetView</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">column</span></td>
      <td><p>The column index</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">append</span></td>
      <td><p>Whether to append</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_UndoRedo_GroupColumnUndoAction__ctor_" data-uid="FarPoint.Win.Spread.UndoRedo.GroupColumnUndoAction.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_UndoRedo_GroupColumnUndoAction__ctor_FarPoint_Win_Spread_SheetView_System_Int32_System_Boolean_System_Boolean_System_Int32_" data-uid="FarPoint.Win.Spread.UndoRedo.GroupColumnUndoAction.#ctor(FarPoint.Win.Spread.SheetView,System.Int32,System.Boolean,System.Boolean,System.Int32)">GroupColumnUndoAction(SheetView, int, bool, bool, int)</h4>
<div class="markdown level1 summary"><p>Creates a new undo action for drag-drop of a column to the grouping bar.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public GroupColumnUndoAction(SheetView sheetView, int column, bool append, bool dragFromGroupBar, int targetColumn)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(sheetView As SheetView, column As Integer, append As Boolean, dragFromGroupBar As Boolean, targetColumn As Integer)</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="FarPoint.Win.Spread.SheetView.html">SheetView</a></td>
      <td><span class="parametername">sheetView</span></td>
      <td><p>Sheet index</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">column</span></td>
      <td><p>Column index</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">append</span></td>
      <td><p>Whether to append</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">dragFromGroupBar</span></td>
      <td><p>Whether to drag from the grouping bar</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">targetColumn</span></td>
      <td><p>Target column index</p>
</td>
    </tr>
  </tbody>
</table>
</div>
