# C1.Win.GanttView.ConstraintType

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Win_GanttView_ConstraintType" data-uid="C1.Win.GanttView.ConstraintType" class="text-break">ConstraintType Enum
</h1>
  <div class="markdown level0 summary"><p>Provides choices for the type of constraint you can apply for scheduling a task.</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_ConstraintType_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum ConstraintType</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum ConstraintType</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_ConstraintType_Default">Default</td>
        <td><p>Task is scheduled as soon as possible (in a project scheduled from the start date) or
it is scheduled as late as possible (in a project scheduled from the finish date).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_ConstraintType_FinishNoEarlierThan">FinishNoEarlierThan</td>
        <td><p>Task must finish on or after the defined constraint date.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_ConstraintType_FinishNoLaterThan">FinishNoLaterThan</td>
        <td><p>Task must finish on or before the defined constraint date.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_ConstraintType_MustFinishOn">MustFinishOn</td>
        <td><p>Task must finish exactly on the defined constraint date.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_ConstraintType_MustStartOn">MustStartOn</td>
        <td><p>Task must start exactly on the defined constraint date.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_ConstraintType_StartNoEarlierThan">StartNoEarlierThan</td>
        <td><p>Task must start on or after the defined constraint date.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_ConstraintType_StartNoLaterThan">StartNoLaterThan</td>
        <td><p>Task must start on or before the defined constraint date.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
