# C1.Win.Command.C1MainMenu.CloseMoreOnItemClick

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Command_C1MainMenu_CloseMoreOnItemClick_" data-uid="C1.Win.Command.C1MainMenu.CloseMoreOnItemClick*">CloseMoreOnItemClick Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Command_C1MainMenu_CloseMoreOnItemClick_" data-uid="C1.Win.Command.C1MainMenu.CloseMoreOnItemClick*"></a>
<h4 id="C1_Win_Command_C1MainMenu_CloseMoreOnItemClick" data-uid="C1.Win.Command.C1MainMenu.CloseMoreOnItemClick">CloseMoreOnItemClick</h4>
<div class="markdown level1 summary"><p>Gets or sets the value indicating whether the menu that is
automatically created when some items do not fit on the toolbar closes
when an item on that menu is clicked.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[C1Category(&quot;Behavior&quot;)]
[C1Description(&quot;C1MainMenu.CloseMoreOnItemClick&quot;, &quot;Gets or sets the value indicating whether the menu that is automatically created when some items do not fit on the mainmenu closes when an item on that menu is clicked.&quot;)]
public bool CloseMoreOnItemClick { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;C1Category(&quot;Behavior&quot;)&gt;
&lt;C1Description(&quot;C1MainMenu.CloseMoreOnItemClick&quot;, &quot;Gets or sets the value indicating whether the menu that is automatically created when some items do not fit on the mainmenu closes when an item on that menu is clicked.&quot;)&gt;
Public Property CloseMoreOnItemClick As Boolean</code></pre>
</div>
</div>
