# C1.Win.FlexGrid.SortColEventArgs

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_FlexGrid_SortColEventArgs" data-uid="C1.Win.FlexGrid.SortColEventArgs" class="text-break">SortColEventArgs Class
</h1>
  <div class="markdown level0 summary"><p>Provides data for the <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.BeforeSort.html">BeforeSort</a> and <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.AfterSort.html">AfterSort</a> events.</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="https://learn.microsoft.com/dotnet/api/system.eventargs">EventArgs</a></div>
    <div class="level2"><span class="xref">SortColEventArgs</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.FlexGrid.html">C1.Win.FlexGrid</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.FlexGrid.10.dll</h6>
  <h5 id="C1_Win_FlexGrid_SortColEventArgs_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class SortColEventArgs : EventArgs</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class SortColEventArgs
    Inherits EventArgs</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="C1_Win_FlexGrid_SortColEventArgs__ctor_System_Int32_C1_Win_FlexGrid_SortFlags_" data-uid="C1.Win.FlexGrid.SortColEventArgs.#ctor(System.Int32,C1.Win.FlexGrid.SortFlags)">
          <a class="xref" href="C1.Win.FlexGrid.SortColEventArgs.-ctor.html#C1_Win_FlexGrid_SortColEventArgs__ctor_System_Int32_C1_Win_FlexGrid_SortFlags_">SortColEventArgs(int, SortFlags)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the SortColEventArgs class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_FlexGrid_SortColEventArgs_Cancel" data-uid="C1.Win.FlexGrid.SortColEventArgs.Cancel">
          <a class="xref" href="C1.Win.FlexGrid.SortColEventArgs.Cancel.html#C1_Win_FlexGrid_SortColEventArgs_Cancel">Cancel</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the drag operation should be canceled.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_SortColEventArgs_Col" data-uid="C1.Win.FlexGrid.SortColEventArgs.Col">
          <a class="xref" href="C1.Win.FlexGrid.SortColEventArgs.Col.html#C1_Win_FlexGrid_SortColEventArgs_Col">Col</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the column that is being sorted.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_SortColEventArgs_Handled" data-uid="C1.Win.FlexGrid.SortColEventArgs.Handled">
          <a class="xref" href="C1.Win.FlexGrid.SortColEventArgs.Handled.html#C1_Win_FlexGrid_SortColEventArgs_Handled">Handled</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the drag operation has been handled by the event handler.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_SortColEventArgs_Order" data-uid="C1.Win.FlexGrid.SortColEventArgs.Order">
          <a class="xref" href="C1.Win.FlexGrid.SortColEventArgs.Order.html#C1_Win_FlexGrid_SortColEventArgs_Order">Order</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a <a class="xref" href="C1.Win.FlexGrid.SortFlags.html">SortFlags</a> value that determines the sorting order.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
