# C1.Blazor.Ribbon.ToolMenuItem

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Blazor_Ribbon_ToolMenuItem" data-uid="C1.Blazor.Ribbon.ToolMenuItem" class="text-break">ToolMenuItem Class
</h1>
  <div class="markdown level0 summary"><p>Represents a selectable item inside a C1Menu control.</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="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.components.componentbase">ComponentBase</a></div>
    <div class="level2"><a class="xref" href="../C1.Blazor.Core/C1.Blazor.Core.C1View.html">C1View</a></div>
    <div class="level3"><a class="xref" href="../C1.Blazor.Menu/C1.Blazor.Menu.C1MenuItem.html">C1MenuItem</a></div>
    <div class="level4"><span class="xref">ToolMenuItem</span></div>
      <div class="level5"><a class="xref" href="C1.Blazor.Ribbon.C1ToggleButtonToolMenuItem.html">C1ToggleButtonToolMenuItem</a></div>
      <div class="level5"><a class="xref" href="C1.Blazor.Ribbon.DropDownToolMenuItem.html">DropDownToolMenuItem</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.components.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.components.ihandleafterrender">IHandleAfterRender</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.components.ihandleevent">IHandleEvent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="../C1.Blazor.Core/C1.Blazor.Core.IDependencyObject.html">IDependencyObject</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Blazor.Ribbon.html">C1.Blazor.Ribbon</a></h6>
  <h6><strong>Assembly</strong>: C1.Blazor.Ribbon.dll</h6>
  <h5 id="C1_Blazor_Ribbon_ToolMenuItem_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ToolMenuItem : C1MenuItem, IComponent, IHandleAfterRender, IHandleEvent, IDisposable, IDependencyObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ToolMenuItem
    Inherits C1MenuItem
    Implements IComponent, IHandleAfterRender, IHandleEvent, IDisposable, IDependencyObject</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_Blazor_Ribbon_ToolMenuItem__ctor" data-uid="C1.Blazor.Ribbon.ToolMenuItem.#ctor">
          <a class="xref" href="C1.Blazor.Ribbon.ToolMenuItem.-ctor.html#C1_Blazor_Ribbon_ToolMenuItem__ctor">ToolMenuItem()</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_Blazor_Ribbon_ToolMenuItem_Tool" data-uid="C1.Blazor.Ribbon.ToolMenuItem.Tool">
          <a class="xref" href="C1.Blazor.Ribbon.ToolMenuItem.Tool.html#C1_Blazor_Ribbon_ToolMenuItem_Tool">Tool</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the tool associated to the menu.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Blazor_Ribbon_ToolMenuItem_Dispose_System_Boolean_" data-uid="C1.Blazor.Ribbon.ToolMenuItem.Dispose(System.Boolean)">
          <a class="xref" href="C1.Blazor.Ribbon.ToolMenuItem.Dispose.html#C1_Blazor_Ribbon_ToolMenuItem_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
