# C1.Win.GanttView.Predecessor

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_GanttView_Predecessor" data-uid="C1.Win.GanttView.Predecessor" class="text-break">Predecessor Class
</h1>
  <div class="markdown level0 summary"><p>Specifies the dependence of one task on the other task.</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">Predecessor</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </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_Predecessor_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(PredecessorConverter))]
public class Predecessor : ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(PredecessorConverter))&gt;
Public Class Predecessor
    Implements ICloneable</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_GanttView_Predecessor__ctor" data-uid="C1.Win.GanttView.Predecessor.#ctor">
          <a class="xref" href="C1.Win.GanttView.Predecessor.-ctor.html#C1_Win_GanttView_Predecessor__ctor">Predecessor()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.Win.GanttView.Predecessor.html">Predecessor</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_Predecessor__ctor_System_Int32_C1_Win_GanttView_PredecessorType_System_Double_" data-uid="C1.Win.GanttView.Predecessor.#ctor(System.Int32,C1.Win.GanttView.PredecessorType,System.Double)">
          <a class="xref" href="C1.Win.GanttView.Predecessor.-ctor.html#C1_Win_GanttView_Predecessor__ctor_System_Int32_C1_Win_GanttView_PredecessorType_System_Double_">Predecessor(int, PredecessorType, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.Win.GanttView.Predecessor.html">Predecessor</a>.</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_GanttView_Predecessor_Lag" data-uid="C1.Win.GanttView.Predecessor.Lag">
          <a class="xref" href="C1.Win.GanttView.Predecessor.Lag.html#C1_Win_GanttView_Predecessor_Lag">Lag</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a delay between two tasks, in days.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_Predecessor_OwnerTask" data-uid="C1.Win.GanttView.Predecessor.OwnerTask">
          <a class="xref" href="C1.Win.GanttView.Predecessor.OwnerTask.html#C1_Win_GanttView_Predecessor_OwnerTask">OwnerTask</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the owner (dependent) task.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_Predecessor_PredecessorTask" data-uid="C1.Win.GanttView.Predecessor.PredecessorTask">
          <a class="xref" href="C1.Win.GanttView.Predecessor.PredecessorTask.html#C1_Win_GanttView_Predecessor_PredecessorTask">PredecessorTask</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the predecessor task.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_Predecessor_PredecessorTaskID" data-uid="C1.Win.GanttView.Predecessor.PredecessorTaskID">
          <a class="xref" href="C1.Win.GanttView.Predecessor.PredecessorTaskID.html#C1_Win_GanttView_Predecessor_PredecessorTaskID">PredecessorTaskID</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the ID of the predecessor task.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_Predecessor_PredecessorType" data-uid="C1.Win.GanttView.Predecessor.PredecessorType">
          <a class="xref" href="C1.Win.GanttView.Predecessor.PredecessorType.html#C1_Win_GanttView_Predecessor_PredecessorType">PredecessorType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the type of dependency between tasks.</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="C1_Win_GanttView_Predecessor_Equals_System_Object_" data-uid="C1.Win.GanttView.Predecessor.Equals(System.Object)">
          <a class="xref" href="C1.Win.GanttView.Predecessor.Equals.html#C1_Win_GanttView_Predecessor_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified object is equal to the current object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_Predecessor_GetHashCode" data-uid="C1.Win.GanttView.Predecessor.GetHashCode">
          <a class="xref" href="C1.Win.GanttView.Predecessor.GetHashCode.html#C1_Win_GanttView_Predecessor_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
