# FarPoint.Win.Spread.AutoSortedColumnEventArgs.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_AutoSortedColumnEventArgs__ctor_" data-uid="FarPoint.Win.Spread.AutoSortedColumnEventArgs.#ctor*">AutoSortedColumnEventArgs Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_AutoSortedColumnEventArgs__ctor_" data-uid="FarPoint.Win.Spread.AutoSortedColumnEventArgs.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_AutoSortedColumnEventArgs__ctor_FarPoint_Win_Spread_SheetView_System_Int32_System_Boolean_System_Boolean_" data-uid="FarPoint.Win.Spread.AutoSortedColumnEventArgs.#ctor(FarPoint.Win.Spread.SheetView,System.Int32,System.Boolean,System.Boolean)">AutoSortedColumnEventArgs(SheetView, int, bool, bool)</h4>
<div class="markdown level1 summary"><p>Creates a new object with the AutoSortedColumn 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 AutoSortedColumnEventArgs(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) that was 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 that was used as the key column for the 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 was 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 the sort indicator was displayed</p>
</td>
    </tr>
  </tbody>
</table>
</div>
