# C1.Win.GanttView.SortField

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Win_GanttView_SortField" data-uid="C1.Win.GanttView.SortField" class="text-break">SortField Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies a field of the <a class="xref" href="C1.Win.GanttView.Task.html">Task</a> object for sorting.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.GanttView.html">C1.Win.GanttView</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.GanttView.10.dll</h6>
  <h5 id="C1_Win_GanttView_SortField_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum SortField</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum SortField</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_Win_GanttView_SortField_ConstraintDate">ConstraintDate</td>
        <td><p>References the <a class="xref" href="C1.Win.GanttView.Task.ConstraintDate.html#C1_Win_GanttView_Task_ConstraintDate">ConstraintDate</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_SortField_ConstraintType">ConstraintType</td>
        <td><p>References the <a class="xref" href="C1.Win.GanttView.Task.ConstraintType.html#C1_Win_GanttView_Task_ConstraintType">ConstraintType</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_SortField_CustomeField">CustomeField</td>
        <td><p>References the custom field of Task.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_SortField_Deadline">Deadline</td>
        <td><p>References the <a class="xref" href="C1.Win.GanttView.Task.Deadline.html#C1_Win_GanttView_Task_Deadline">Deadline</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_SortField_Duration">Duration</td>
        <td><p>References the <a class="xref" href="C1.Win.GanttView.Task.Duration.html#C1_Win_GanttView_Task_Duration">Duration</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_SortField_DurationUnits">DurationUnits</td>
        <td><p>References the <a class="xref" href="C1.Win.GanttView.Task.DurationUnits.html#C1_Win_GanttView_Task_DurationUnits">DurationUnits</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_SortField_Finish">Finish</td>
        <td><p>References the <a class="xref" href="C1.Win.GanttView.Task.Finish.html#C1_Win_GanttView_Task_Finish">Finish</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_SortField_Mode">Mode</td>
        <td><p>References the <a class="xref" href="C1.Win.GanttView.Task.Mode.html#C1_Win_GanttView_Task_Mode">Mode</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_SortField_Name">Name</td>
        <td><p>References the <a class="xref" href="C1.Win.GanttView.Task.Name.html#C1_Win_GanttView_Task_Name">Name</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_SortField_None">None</td>
        <td><p>No reference. The column doesn't appear in the grid.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_SortField_OutlineLevel">OutlineLevel</td>
        <td><p>References the <a class="xref" href="C1.Win.GanttView.Task.OutlineLevel.html#C1_Win_GanttView_Task_OutlineLevel">OutlineLevel</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_SortField_PercentComplete">PercentComplete</td>
        <td><p>References the <a class="xref" href="C1.Win.GanttView.Task.PercentComplete.html#C1_Win_GanttView_Task_PercentComplete">PercentComplete</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_SortField_ResourceNames">ResourceNames</td>
        <td><p>References the <a class="xref" href="C1.Win.GanttView.Task.ResourceNames.html#C1_Win_GanttView_Task_ResourceNames">ResourceNames</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_SortField_Start">Start</td>
        <td><p>References the <a class="xref" href="C1.Win.GanttView.Task.Start.html#C1_Win_GanttView_Task_Start">Start</a> property.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
