# FarPoint.Win.Spread.AutoSortingColumnEventArgs.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_AutoSortingColumnEventArgs__ctor_" data-uid="FarPoint.Win.Spread.AutoSortingColumnEventArgs.#ctor*">AutoSortingColumnEventArgs Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_AutoSortingColumnEventArgs__ctor_" data-uid="FarPoint.Win.Spread.AutoSortingColumnEventArgs.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_AutoSortingColumnEventArgs__ctor_FarPoint_Win_Spread_SheetView_System_Int32_System_Boolean_System_Boolean_" data-uid="FarPoint.Win.Spread.AutoSortingColumnEventArgs.#ctor(FarPoint.Win.Spread.SheetView,System.Int32,System.Boolean,System.Boolean)">AutoSortingColumnEventArgs(SheetView, int, bool, bool)</h4>
<div class="markdown level1 summary"><p>Creates a new object with the AutoSortingColumn event arguments.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public AutoSortingColumnEventArgs(SheetView sheetView, int column, bool ascending, bool showIndicator)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(sheetView As SheetView, column As Integer, ascending As Boolean, showIndicator 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>Sheet (SheetView object) to be automatically sorted</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>Index of the column to be used as the key for automatic sort</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">ascending</span></td>
      <td><p>Whether the automatic sort is ascending</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">showIndicator</span></td>
      <td><p>Whether to display the sort indicator</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_AutoSortingColumnEventArgs__ctor_" data-uid="FarPoint.Win.Spread.AutoSortingColumnEventArgs.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_AutoSortingColumnEventArgs__ctor_FarPoint_Win_Spread_SheetView_System_Int32_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="FarPoint.Win.Spread.AutoSortingColumnEventArgs.#ctor(FarPoint.Win.Spread.SheetView,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">AutoSortingColumnEventArgs(SheetView, int, bool, bool, bool, bool)</h4>
<div class="markdown level1 summary"><p>Creates a new object with the AutoSortingColumn event arguments.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public AutoSortingColumnEventArgs(SheetView sheetView, int column, bool ascending, bool showIndicator, bool sortFrozenRows, bool sortTrailingFrozenRows)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(sheetView As SheetView, column As Integer, ascending As Boolean, showIndicator As Boolean, sortFrozenRows As Boolean, sortTrailingFrozenRows 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>Sheet (SheetView object) to be automatically sorted</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>Index of the column to be used as the key for automatic sort</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">ascending</span></td>
      <td><p>Whether the automatic sort is ascending</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">showIndicator</span></td>
      <td><p>Whether to display the sort indicator</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">sortFrozenRows</span></td>
      <td><p>Whether frozen rows sort</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">sortTrailingFrozenRows</span></td>
      <td><p>Whether trailing frozen rows sort</p>
</td>
    </tr>
  </tbody>
</table>
</div>
