# C1.Win.GanttView.C1GanttView.BarHeight

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_GanttView_C1GanttView_BarHeight_" data-uid="C1.Win.GanttView.C1GanttView.BarHeight*">BarHeight Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_GanttView_C1GanttView_BarHeight_" data-uid="C1.Win.GanttView.C1GanttView.BarHeight*"></a>
<h4 id="C1_Win_GanttView_C1GanttView_BarHeight" data-uid="C1.Win.GanttView.C1GanttView.BarHeight">BarHeight</h4>
<div class="markdown level1 summary"><p>Gets or sets the height of task bar.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public int BarHeight { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property BarHeight As Integer</code></pre>
</div>
<h5 id="C1_Win_GanttView_C1GanttView_BarHeight_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>If <a class="xref" href="C1.Win.GanttView.C1GanttView.AdaptiveBarHeight.html#C1_Win_GanttView_C1GanttView_AdaptiveBarHeight">AdaptiveBarHeight</a> property is set to true, return value is calculated according to the font settings.</p>
</div>
</div>
