# C1.Blazor.Ribbon.C1MenuTool

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Blazor_Ribbon_C1MenuTool" data-uid="C1.Blazor.Ribbon.C1MenuTool" class="text-break">C1MenuTool Class
</h1>
  <div class="markdown level0 summary"><p>This tools groups a set of <a class="xref" href="C1.Blazor.Ribbon.C1MenuTool.Tools.html#C1_Blazor_Ribbon_C1MenuTool_Tools">Tools</a> and display them as a drop-down 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"><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.Ribbon.C1Tool.html">C1Tool</a></div>
    <div class="level4"><a class="xref" href="C1.Blazor.Ribbon.C1DropDownTool.html">C1DropDownTool</a></div>
    <div class="level5"><span class="xref">C1MenuTool</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.components.ihandleafterrender">IHandleAfterRender</a></div>
    <div><a class="xref" href="../C1.Blazor.Core/C1.Blazor.Core.IDependencyObject.html">IDependencyObject</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="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.components.icomponent">IComponent</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_C1MenuTool_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1MenuTool : C1DropDownTool, IHandleAfterRender, IDependencyObject, IHandleEvent, IDisposable, IComponent</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1MenuTool
    Inherits C1DropDownTool
    Implements IHandleAfterRender, IDependencyObject, IHandleEvent, IDisposable, IComponent</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_C1MenuTool__ctor" data-uid="C1.Blazor.Ribbon.C1MenuTool.#ctor">
          <a class="xref" href="C1.Blazor.Ribbon.C1MenuTool.-ctor.html#C1_Blazor_Ribbon_C1MenuTool__ctor">C1MenuTool()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Blazor.Ribbon.C1MenuTool.html">C1MenuTool</a> class.</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_Blazor_Ribbon_C1MenuTool_ChildContent" data-uid="C1.Blazor.Ribbon.C1MenuTool.ChildContent">
          <a class="xref" href="C1.Blazor.Ribbon.C1MenuTool.ChildContent.html#C1_Blazor_Ribbon_C1MenuTool_ChildContent">ChildContent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the component child content.
This can be used to define <a class="xref" href="C1.Blazor.Ribbon.C1Tool.html">C1Tool</a>, <a class="xref" href="C1.Blazor.Ribbon.C1ToolSeparator.html">C1ToolSeparator</a>, or their derived types.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Blazor_Ribbon_C1MenuTool_ItemsSource" data-uid="C1.Blazor.Ribbon.C1MenuTool.ItemsSource">
          <a class="xref" href="C1.Blazor.Ribbon.C1MenuTool.ItemsSource.html#C1_Blazor_Ribbon_C1MenuTool_ItemsSource">ItemsSource</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the collection used to generate the content of the <a class="xref" href="C1.Blazor.Ribbon.C1MenuTool.html">C1MenuTool</a> component.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Blazor_Ribbon_C1MenuTool_Tools" data-uid="C1.Blazor.Ribbon.C1MenuTool.Tools">
          <a class="xref" href="C1.Blazor.Ribbon.C1MenuTool.Tools.html#C1_Blazor_Ribbon_C1MenuTool_Tools">Tools</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of sub-tools this tool will display as a 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_C1MenuTool_BuildRenderTree_Microsoft_AspNetCore_Components_Rendering_RenderTreeBuilder_" data-uid="C1.Blazor.Ribbon.C1MenuTool.BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder)">
          <a class="xref" href="C1.Blazor.Ribbon.C1MenuTool.BuildRenderTree.html#C1_Blazor_Ribbon_C1MenuTool_BuildRenderTree_Microsoft_AspNetCore_Components_Rendering_RenderTreeBuilder_">BuildRenderTree(RenderTreeBuilder)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Blazor_Ribbon_C1MenuTool_Dispose_System_Boolean_" data-uid="C1.Blazor.Ribbon.C1MenuTool.Dispose(System.Boolean)">
          <a class="xref" href="C1.Blazor.Ribbon.C1MenuTool.Dispose.html#C1_Blazor_Ribbon_C1MenuTool_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Blazor_Ribbon_C1MenuTool_OnAfterRender_System_Boolean_" data-uid="C1.Blazor.Ribbon.C1MenuTool.OnAfterRender(System.Boolean)">
          <a class="xref" href="C1.Blazor.Ribbon.C1MenuTool.OnAfterRender.html#C1_Blazor_Ribbon_C1MenuTool_OnAfterRender_System_Boolean_">OnAfterRender(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
