# C1.Win.C1Input.C1ComboBox.MaxDropDownItems

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_C1Input_C1ComboBox_MaxDropDownItems_" data-uid="C1.Win.C1Input.C1ComboBox.MaxDropDownItems*">MaxDropDownItems Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_C1Input_C1ComboBox_MaxDropDownItems_" data-uid="C1.Win.C1Input.C1ComboBox.MaxDropDownItems*"></a>
<h4 id="C1_Win_C1Input_C1ComboBox_MaxDropDownItems" data-uid="C1.Win.C1Input.C1ComboBox.MaxDropDownItems">MaxDropDownItems</h4>
<div class="markdown level1 summary"><p>Gets or sets the maximum number of items to be shown in the drop-down portion of the <a class="xref" href="C1.Win.C1Input.C1ComboBox.html">C1ComboBox</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public int MaxDropDownItems { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property MaxDropDownItems As Integer</code></pre>
</div>
<h5 id="C1_Win_C1Input_C1ComboBox_MaxDropDownItems_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>When MaxDropDownItems is 0, the height of DropDown is half of screen height.</p>
<p>If MaxDropDownItems does not fit screen height then the result height fit the maximum available space on screen.</p>
<p>The default height of item is height of first item of the <a class="xref" href="C1.Win.C1Input.C1ComboBox.html">C1ComboBox</a>.</p>
</div>
</div>
