# C1.WPF.Ribbon.C1MenuTool

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Ribbon_C1MenuTool" data-uid="C1.WPF.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.WPF.Ribbon.C1MenuTool.Tools.html#C1_WPF_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="C1.WPF.Ribbon.C1Tool.html">C1Tool</a></div>
    <div class="level2"><a class="xref" href="C1.WPF.Ribbon.C1DropDownTool.html">C1DropDownTool</a></div>
    <div class="level3"><span class="xref">C1MenuTool</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Ribbon.html">C1.WPF.Ribbon</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Ribbon.dll</h6>
  <h5 id="C1_WPF_Ribbon_C1MenuTool_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;ToolMenuList&quot;, Type = typeof(ToolMenuList))]
public class C1MenuTool : C1DropDownTool</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;ToolMenuList&quot;, Type:=GetType(ToolMenuList))&gt;
Public Class C1MenuTool
    Inherits C1DropDownTool</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_WPF_Ribbon_C1MenuTool__ctor" data-uid="C1.WPF.Ribbon.C1MenuTool.#ctor">
          <a class="xref" href="C1.WPF.Ribbon.C1MenuTool.-ctor.html#C1_WPF_Ribbon_C1MenuTool__ctor">C1MenuTool()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.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_WPF_Ribbon_C1MenuTool_Tools" data-uid="C1.WPF.Ribbon.C1MenuTool.Tools">
          <a class="xref" href="C1.WPF.Ribbon.C1MenuTool.Tools.html#C1_WPF_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_WPF_Ribbon_C1MenuTool_Dispose_System_Boolean_" data-uid="C1.WPF.Ribbon.C1MenuTool.Dispose(System.Boolean)">
          <a class="xref" href="C1.WPF.Ribbon.C1MenuTool.Dispose.html#C1_WPF_Ribbon_C1MenuTool_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Ribbon_C1MenuTool_OnApplyTemplate" data-uid="C1.WPF.Ribbon.C1MenuTool.OnApplyTemplate">
          <a class="xref" href="C1.WPF.Ribbon.C1MenuTool.OnApplyTemplate.html#C1_WPF_Ribbon_C1MenuTool_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
