# C1.GanttView.TasksMappingCollection.Duration

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_GanttView_TasksMappingCollection_Duration_" data-uid="C1.GanttView.TasksMappingCollection.Duration*">Duration Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_GanttView_TasksMappingCollection_Duration_" data-uid="C1.GanttView.TasksMappingCollection.Duration*"></a>
<h4 id="C1_GanttView_TasksMappingCollection_Duration" data-uid="C1.GanttView.TasksMappingCollection.Duration">Duration</h4>
<div class="markdown level1 summary"><p>Returns <span class="xref">C1.Schedule.MappingInfo</span> object for the <a class="xref" href="C1.Win.GanttView.Task.Duration.html#C1_Win_GanttView_Task_Duration">Duration</a>
property of the <a class="xref" href="C1.Win.GanttView.Task.html">Task</a> object.
If the storage object is bound to a data source via its DataSource property,
the properties of this object allow the <a class="xref" href="C1.Win.GanttView.Task.Duration.html#C1_Win_GanttView_Task_Duration">Duration</a> property
to be bound to the appropriate field in the data source.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public MappingInfo Duration { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public ReadOnly Property Duration As MappingInfo</code></pre>
</div>
</div>
