# FarPoint.Win.Spread.SortInfo

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_SortInfo" data-uid="FarPoint.Win.Spread.SortInfo" class="text-break">SortInfo Class
</h1>
  <div class="markdown level0 summary"><p>Represents the information related to sorting columns,
rows, or a range of cells.</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"><span class="xref">SortInfo</span></div>
      <div class="level2"><a class="xref" href="FarPoint.Win.Spread.ComplexSortInfo.html">ComplexSortInfo</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.html">FarPoint.Win.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_SortInfo_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class SortInfo : ISerializable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class SortInfo
    Implements ISerializable</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="FarPoint_Win_Spread_SortInfo__ctor_System_Int32_System_Boolean_" data-uid="FarPoint.Win.Spread.SortInfo.#ctor(System.Int32,System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.SortInfo.-ctor.html#FarPoint_Win_Spread_SortInfo__ctor_System_Int32_System_Boolean_">SortInfo(int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a SortInfo object with the order specified and the comparison done
using the system default comparer.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SortInfo__ctor_System_Int32_System_Boolean_System_Collections_IComparer_" data-uid="FarPoint.Win.Spread.SortInfo.#ctor(System.Int32,System.Boolean,System.Collections.IComparer)">
          <a class="xref" href="FarPoint.Win.Spread.SortInfo.-ctor.html#FarPoint_Win_Spread_SortInfo__ctor_System_Int32_System_Boolean_System_Collections_IComparer_">SortInfo(int, bool, IComparer)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a SortInfo object with the order specified and the comparison done
according to the specified comparer.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SortInfo__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.SortInfo.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.SortInfo.-ctor.html#FarPoint_Win_Spread_SortInfo__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">SortInfo(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.SortInfo.html">SortInfo</a> class from serialization.</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="FarPoint_Win_Spread_SortInfo_Ascending" data-uid="FarPoint.Win.Spread.SortInfo.Ascending">
          <a class="xref" href="FarPoint.Win.Spread.SortInfo.Ascending.html#FarPoint_Win_Spread_SortInfo_Ascending">Ascending</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the sort order is ascending.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SortInfo_Comparer" data-uid="FarPoint.Win.Spread.SortInfo.Comparer">
          <a class="xref" href="FarPoint.Win.Spread.SortInfo.Comparer.html#FarPoint_Win_Spread_SortInfo_Comparer">Comparer</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the IComparer object for the method of comparison.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SortInfo_Index" data-uid="FarPoint.Win.Spread.SortInfo.Index">
          <a class="xref" href="FarPoint.Win.Spread.SortInfo.Index.html#FarPoint_Win_Spread_SortInfo_Index">Index</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the index of the column or row on which to sort.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Win_Spread_SortInfo_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.SortInfo.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.SortInfo.GetObjectData.html#FarPoint_Win_Spread_SortInfo_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">GetObjectData(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
