# FarPoint.Win.Spread.ComplexSortInfo

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_ComplexSortInfo" data-uid="FarPoint.Win.Spread.ComplexSortInfo" class="text-break">ComplexSortInfo Class
</h1>
  <div class="markdown level0 summary"><p>Represents 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"><a class="xref" href="FarPoint.Win.Spread.SortInfo.html">SortInfo</a></div>
    <div class="level2"><span class="xref">ComplexSortInfo</span></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><a class="xref" href="../FarPoint.Win/FarPoint.Win.ISerializeSupport.html">ISerializeSupport</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_ComplexSortInfo_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ComplexSortInfo : SortInfo, ISerializable, ISerializeSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ComplexSortInfo
    Inherits SortInfo
    Implements ISerializable, ISerializeSupport</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_ComplexSortInfo__ctor_FarPoint_Win_Spread_ComplexSortInfo_" data-uid="FarPoint.Win.Spread.ComplexSortInfo.#ctor(FarPoint.Win.Spread.ComplexSortInfo)">
          <a class="xref" href="FarPoint.Win.Spread.ComplexSortInfo.-ctor.html#FarPoint_Win_Spread_ComplexSortInfo__ctor_FarPoint_Win_Spread_ComplexSortInfo_">ComplexSortInfo(ComplexSortInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a SortInfo object from another SortInfo object</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ComplexSortInfo__ctor_System_Int32_FarPoint_Win_Spread_ConditionalFormattingIconSetIndex_System_Boolean_" data-uid="FarPoint.Win.Spread.ComplexSortInfo.#ctor(System.Int32,FarPoint.Win.Spread.ConditionalFormattingIconSetIndex,System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.ComplexSortInfo.-ctor.html#FarPoint_Win_Spread_ComplexSortInfo__ctor_System_Int32_FarPoint_Win_Spread_ConditionalFormattingIconSetIndex_System_Boolean_">ComplexSortInfo(int, ConditionalFormattingIconSetIndex, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a ComplexSortInfo object with a specified order and comparison done by spread default icon comparer.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ComplexSortInfo__ctor_System_Int32_System_Boolean_" data-uid="FarPoint.Win.Spread.ComplexSortInfo.#ctor(System.Int32,System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.ComplexSortInfo.-ctor.html#FarPoint_Win_Spread_ComplexSortInfo__ctor_System_Int32_System_Boolean_">ComplexSortInfo(int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a SortInfo object with the specified order and comparison done
using the system default comparer.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ComplexSortInfo__ctor_System_Int32_System_Drawing_Color_System_Boolean_System_Boolean_" data-uid="FarPoint.Win.Spread.ComplexSortInfo.#ctor(System.Int32,System.Drawing.Color,System.Boolean,System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.ComplexSortInfo.-ctor.html#FarPoint_Win_Spread_ComplexSortInfo__ctor_System_Int32_System_Drawing_Color_System_Boolean_System_Boolean_">ComplexSortInfo(int, Color, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a ComplexSortInfo object with a specified order and comparison that is handled by the spread default color comparer.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ComplexSortInfo__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.ComplexSortInfo.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.ComplexSortInfo.-ctor.html#FarPoint_Win_Spread_ComplexSortInfo__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">ComplexSortInfo(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.ComplexSortInfo.html">ComplexSortInfo</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_ComplexSortInfo_Color" data-uid="FarPoint.Win.Spread.ComplexSortInfo.Color">
          <a class="xref" href="FarPoint.Win.Spread.ComplexSortInfo.Color.html#FarPoint_Win_Spread_ComplexSortInfo_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the base color.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ComplexSortInfo_Comparer" data-uid="FarPoint.Win.Spread.ComplexSortInfo.Comparer">
          <a class="xref" href="FarPoint.Win.Spread.ComplexSortInfo.Comparer.html#FarPoint_Win_Spread_ComplexSortInfo_Comparer">Comparer</a>
        </td>
        <td class="markdown level1 summary"><p>Not in use.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ComplexSortInfo_IconSetIndex" data-uid="FarPoint.Win.Spread.ComplexSortInfo.IconSetIndex">
          <a class="xref" href="FarPoint.Win.Spread.ComplexSortInfo.IconSetIndex.html#FarPoint_Win_Spread_ComplexSortInfo_IconSetIndex">IconSetIndex</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the base icon.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ComplexSortInfo_SortBy" data-uid="FarPoint.Win.Spread.ComplexSortInfo.SortBy">
          <a class="xref" href="FarPoint.Win.Spread.ComplexSortInfo.SortBy.html#FarPoint_Win_Spread_ComplexSortInfo_SortBy">SortBy</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the sort type.</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_ComplexSortInfo_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.ComplexSortInfo.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.ComplexSortInfo.GetObjectData.html#FarPoint_Win_Spread_ComplexSortInfo_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>
