# C1.Web.Mvc.Menu

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Menu" data-uid="C1.Web.Mvc.Menu" class="text-break">Menu 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;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>&gt;</div>
    <div class="level4"><a class="xref" href="C1.Web.Mvc.DropDown-1.html">DropDown</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>&gt;</div>
    <div class="level5"><a class="xref" href="C1.Web.Mvc.ComboBoxBase-1.html">ComboBoxBase</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>&gt;</div>
    <div class="level6"><a class="xref" href="C1.Web.Mvc.MenuBase-1.html">MenuBase</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>&gt;</div>
    <div class="level7"><span class="xref">Menu</span></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_Menu_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Menu : MenuBase&lt;object&gt;, IHtmlContent, ITemplate, IDropDown</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Menu
    Inherits MenuBase(Of Object)
    Implements IHtmlContent, ITemplate, IDropDown</code></pre>
  </div>
  <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_Menu__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_System_String_" data-uid="C1.Web.Mvc.Menu.#ctor(Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper,System.String)">
          <a class="xref" href="C1.Web.Mvc.Menu.-ctor.html#C1_Web_Mvc_Menu__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_System_String_">Menu(IHtmlHelper, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.Menu.html">Menu</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_Menu_IsContentHtml" data-uid="C1.Web.Mvc.Menu.IsContentHtml">
          <a class="xref" href="C1.Web.Mvc.Menu.IsContentHtml.html#C1_Web_Mvc_Menu_IsContentHtml">IsContentHtml</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the drop-down list displays items as plain text or as HTML.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Menu_IsRequired" data-uid="C1.Web.Mvc.Menu.IsRequired">
          <a class="xref" href="C1.Web.Mvc.Menu.IsRequired.html#C1_Web_Mvc_Menu_IsRequired">IsRequired</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the control value must be set to a non-null value or whether it can be set to null (by deleting the content of the control).</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
