# C1.Web.Mvc.MenuBase-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_MenuBase_1" data-uid="C1.Web.Mvc.MenuBase`1" class="text-break">MenuBase&lt;T&gt; Class
</h1>
  <div class="markdown level0 summary"><p>The Menu control shows a text element with a drop-down list of commands that the user can invoke by click or touch.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Web.Mvc.Component.html">Component</a></div>
    <div class="level2"><a class="xref" href="C1.Web.Mvc.Control.html">Control</a></div>
    <div class="level3"><a class="xref" href="C1.Web.Mvc.ItemsBoundControl-1.html">ItemsBoundControl</a>&lt;T&gt;</div>
    <div class="level4"><a class="xref" href="C1.Web.Mvc.DropDown-1.html">DropDown</a>&lt;T&gt;</div>
    <div class="level5"><a class="xref" href="C1.Web.Mvc.ComboBoxBase-1.html">ComboBoxBase</a>&lt;T&gt;</div>
    <div class="level6"><span class="xref">MenuBase&lt;T&gt;</span></div>
      <div class="level7"><a class="xref" href="C1.Web.Mvc.Menu.html">Menu</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.html.ihtmlcontent">IHtmlContent</a></div>
    <div><a class="xref" href="C1.Web.Mvc.ITemplate.html">ITemplate</a></div>
    <div><a class="xref" href="C1.Web.Mvc.IDropDown.html">IDropDown</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.html">C1.Web.Mvc</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_MenuBase_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class MenuBase&lt;T&gt; : ComboBoxBase&lt;T&gt;, IHtmlContent, ITemplate, IDropDown</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class MenuBase(Of T)
    Inherits ComboBoxBase(Of T)
    Implements IHtmlContent, ITemplate, IDropDown</code></pre>
  </div>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_MenuBase_1__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_System_String_" data-uid="C1.Web.Mvc.MenuBase`1.#ctor(Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper,System.String)">
          <a class="xref" href="C1.Web.Mvc.MenuBase-1.-ctor.html#C1_Web_Mvc_MenuBase_1__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_System_String_">MenuBase(IHtmlHelper, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.MenuBase-1.html">MenuBase&lt;T&gt;</a> instance.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_MenuBase_1_AriaLabel" data-uid="C1.Web.Mvc.MenuBase`1.AriaLabel">
          <a class="xref" href="C1.Web.Mvc.MenuBase-1.AriaLabel.html#C1_Web_Mvc_MenuBase_1_AriaLabel">AriaLabel</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the  aria label property of the menu element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MenuBase_1_AutoSelectOnFocus" data-uid="C1.Web.Mvc.MenuBase`1.AutoSelectOnFocus">
          <a class="xref" href="C1.Web.Mvc.MenuBase-1.AutoSelectOnFocus.html#C1_Web_Mvc_MenuBase_1_AutoSelectOnFocus">AutoSelectOnFocus</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the first enabled item is automatically focused/selected in the menu.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MenuBase_1_CloseOnLeave" data-uid="C1.Web.Mvc.MenuBase`1.CloseOnLeave">
          <a class="xref" href="C1.Web.Mvc.MenuBase-1.CloseOnLeave.html#C1_Web_Mvc_MenuBase_1_CloseOnLeave">CloseOnLeave</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the menu should close automatically when the mouse leave the items.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MenuBase_1_Command" data-uid="C1.Web.Mvc.MenuBase`1.Command">
          <a class="xref" href="C1.Web.Mvc.MenuBase-1.Command.html#C1_Web_Mvc_MenuBase_1_Command">Command</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MenuBase_1_CommandParameterPath" data-uid="C1.Web.Mvc.MenuBase`1.CommandParameterPath">
          <a class="xref" href="C1.Web.Mvc.MenuBase-1.CommandParameterPath.html#C1_Web_Mvc_MenuBase_1_CommandParameterPath">CommandParameterPath</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MenuBase_1_CommandPath" data-uid="C1.Web.Mvc.MenuBase`1.CommandPath">
          <a class="xref" href="C1.Web.Mvc.MenuBase-1.CommandPath.html#C1_Web_Mvc_MenuBase_1_CommandPath">CommandPath</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MenuBase_1_Header" data-uid="C1.Web.Mvc.MenuBase`1.Header">
          <a class="xref" href="C1.Web.Mvc.MenuBase-1.Header.html#C1_Web_Mvc_MenuBase_1_Header">Header</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MenuBase_1_IsButton" data-uid="C1.Web.Mvc.MenuBase`1.IsButton">
          <a class="xref" href="C1.Web.Mvc.MenuBase-1.IsButton.html#C1_Web_Mvc_MenuBase_1_IsButton">IsButton</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether menu should act as a split button instead of a regular menu.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MenuBase_1_OnClientItemClicked" data-uid="C1.Web.Mvc.MenuBase`1.OnClientItemClicked">
          <a class="xref" href="C1.Web.Mvc.MenuBase-1.OnClientItemClicked.html#C1_Web_Mvc_MenuBase_1_OnClientItemClicked">OnClientItemClicked</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MenuBase_1_OpenOnHover" data-uid="C1.Web.Mvc.MenuBase`1.OpenOnHover">
          <a class="xref" href="C1.Web.Mvc.MenuBase-1.OpenOnHover.html#C1_Web_Mvc_MenuBase_1_OpenOnHover">OpenOnHover</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the menu should open and close automatically when the mouse hovers over the items.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MenuBase_1_Owner" data-uid="C1.Web.Mvc.MenuBase`1.Owner">
          <a class="xref" href="C1.Web.Mvc.MenuBase-1.Owner.html#C1_Web_Mvc_MenuBase_1_Owner">Owner</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the selector string of the element that owns this menu.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MenuBase_1_SubItemsPath" data-uid="C1.Web.Mvc.MenuBase`1.SubItemsPath">
          <a class="xref" href="C1.Web.Mvc.MenuBase-1.SubItemsPath.html#C1_Web_Mvc_MenuBase_1_SubItemsPath">SubItemsPath</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the property that contains an array with items to be displayed in a sub-menu.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
