# C1.Win.Command.C1CommandMdiList.MaxItems

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Command_C1CommandMdiList_MaxItems_" data-uid="C1.Win.Command.C1CommandMdiList.MaxItems*">MaxItems Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Command_C1CommandMdiList_MaxItems_" data-uid="C1.Win.Command.C1CommandMdiList.MaxItems*"></a>
<h4 id="C1_Win_Command_C1CommandMdiList_MaxItems" data-uid="C1.Win.Command.C1CommandMdiList.MaxItems">MaxItems</h4>
<div class="markdown level1 summary"><p>Sets or returns the maximum number of menu items created.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[C1Description(&quot;C1CommandMdiList.MaxItems&quot;, &quot;Sets or returns the maximum number of menu items created.&quot;)]
public int MaxItems { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;C1Description(&quot;C1CommandMdiList.MaxItems&quot;, &quot;Sets or returns the maximum number of menu items created.&quot;)&gt;
Public Property MaxItems As Integer</code></pre>
</div>
</div>
