# C1.Win.GanttView.DragNotificationBase.UpdateDates

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_GanttView_DragNotificationBase_UpdateDates_" data-uid="C1.Win.GanttView.DragNotificationBase.UpdateDates*">UpdateDates Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_GanttView_DragNotificationBase_UpdateDates_" data-uid="C1.Win.GanttView.DragNotificationBase.UpdateDates*"></a>
<h4 id="C1_Win_GanttView_DragNotificationBase_UpdateDates_System_Nullable_System_DateTime__System_Nullable_System_DateTime__System_Double_C1_Win_GanttView_DurationUnits_" data-uid="C1.Win.GanttView.DragNotificationBase.UpdateDates(System.Nullable{System.DateTime},System.Nullable{System.DateTime},System.Double,C1.Win.GanttView.DurationUnits)">UpdateDates(DateTime?, DateTime?, double, DurationUnits)</h4>
<div class="markdown level1 summary"><p>Raises on update start and finish dates of the task.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public abstract void UpdateDates(DateTime? start, DateTime? finish, double duration, DurationUnits units)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public MustOverride Sub UpdateDates(start As Date?, finish As Date?, duration As Double, units As DurationUnits)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a>?</td>
      <td><span class="parametername">start</span></td>
      <td><p>Start of the current task.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a>?</td>
      <td><span class="parametername">finish</span></td>
      <td><p>Finish of the current task.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">duration</span></td>
      <td><p>Duration of the current task.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Win.GanttView.DurationUnits.html">DurationUnits</a></td>
      <td><span class="parametername">units</span></td>
      <td><p>Duration units.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
