# C1.Web.Mvc.MenuItem

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_MenuItem" data-uid="C1.Web.Mvc.MenuItem" class="text-break">MenuItem Class
</h1>
  <div class="markdown level0 summary"><p>Represents the items displayed in the Menu.</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"><span class="xref">MenuItem</span></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_MenuItem_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class MenuItem</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class MenuItem</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_MenuItem__ctor" data-uid="C1.Web.Mvc.MenuItem.#ctor">
          <a class="xref" href="C1.Web.Mvc.MenuItem.-ctor.html#C1_Web_Mvc_MenuItem__ctor">MenuItem()</a>
        </td>
        <td class="markdown level1 summary"></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_MenuItem_Command" data-uid="C1.Web.Mvc.MenuItem.Command">
          <a class="xref" href="C1.Web.Mvc.MenuItem.Command.html#C1_Web_Mvc_MenuItem_Command">Command</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the associated menu command.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MenuItem_CommandParameter" data-uid="C1.Web.Mvc.MenuItem.CommandParameter">
          <a class="xref" href="C1.Web.Mvc.MenuItem.CommandParameter.html#C1_Web_Mvc_MenuItem_CommandParameter">CommandParameter</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the associated menu command parameter.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MenuItem_Header" data-uid="C1.Web.Mvc.MenuItem.Header">
          <a class="xref" href="C1.Web.Mvc.MenuItem.Header.html#C1_Web_Mvc_MenuItem_Header">Header</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the header of the menu item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MenuItem_IsSeparator" data-uid="C1.Web.Mvc.MenuItem.IsSeparator">
          <a class="xref" href="C1.Web.Mvc.MenuItem.IsSeparator.html#C1_Web_Mvc_MenuItem_IsSeparator">IsSeparator</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the MenuItem is a separator.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
