# C1.Win.List.ListBase.Frame.CaptionHeight

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_List_ListBase_Frame_CaptionHeight_" data-uid="C1.Win.List.ListBase.Frame.CaptionHeight*">CaptionHeight Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_List_ListBase_Frame_CaptionHeight_" data-uid="C1.Win.List.ListBase.Frame.CaptionHeight*"></a>
<h4 id="C1_Win_List_ListBase_Frame_CaptionHeight" data-uid="C1.Win.List.ListBase.Frame.CaptionHeight">CaptionHeight</h4>
<div class="markdown level1 summary"><p>Returns or sets the height of the list caption area.
The default value is -1, which means that actual height is set automatically according to the font size.
Set this property to 0 to hide the caption.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Layout]
public int CaptionHeight { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Layout&gt;
Public Property CaptionHeight As Integer</code></pre>
</div>
</div>
