# C1.WinUI.Viewer.ToolMenuItem

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WinUI_Viewer_ToolMenuItem" data-uid="C1.WinUI.Viewer.ToolMenuItem" class="text-break">ToolMenuItem Class
</h1>
  <div class="markdown level0 summary"><p>Data to represent an item in the Tools menu of a <a class="xref" href="C1.WinUI.Viewer.FlexViewer.html">FlexViewer</a>.</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">ToolMenuItem</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WinUI.Viewer.html">C1.WinUI.Viewer</a></h6>
  <h6><strong>Assembly</strong>: C1.WinUI.Viewer.dll</h6>
  <h5 id="C1_WinUI_Viewer_ToolMenuItem_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ToolMenuItem : INotifyPropertyChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ToolMenuItem
    Implements INotifyPropertyChanged</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_WinUI_Viewer_ToolMenuItem__ctor_System_String_C1_WinUI_Viewer_FlexViewerTool_System_String_" data-uid="C1.WinUI.Viewer.ToolMenuItem.#ctor(System.String,C1.WinUI.Viewer.FlexViewerTool,System.String)">
          <a class="xref" href="C1.WinUI.Viewer.ToolMenuItem.-ctor.html#C1_WinUI_Viewer_ToolMenuItem__ctor_System_String_C1_WinUI_Viewer_FlexViewerTool_System_String_">ToolMenuItem(string, FlexViewerTool, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WinUI.Viewer.ToolMenuItem.html">ToolMenuItem</a>.</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_WinUI_Viewer_ToolMenuItem_Glyph" data-uid="C1.WinUI.Viewer.ToolMenuItem.Glyph">
          <a class="xref" href="C1.WinUI.Viewer.ToolMenuItem.Glyph.html#C1_WinUI_Viewer_ToolMenuItem_Glyph">Glyph</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the string with a character used as the tool icon.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Viewer_ToolMenuItem_IsEnabled" data-uid="C1.WinUI.Viewer.ToolMenuItem.IsEnabled">
          <a class="xref" href="C1.WinUI.Viewer.ToolMenuItem.IsEnabled.html#C1_WinUI_Viewer_ToolMenuItem_IsEnabled">IsEnabled</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating if the item is enabled.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Viewer_ToolMenuItem_Label" data-uid="C1.WinUI.Viewer.ToolMenuItem.Label">
          <a class="xref" href="C1.WinUI.Viewer.ToolMenuItem.Label.html#C1_WinUI_Viewer_ToolMenuItem_Label">Label</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text label of the tool.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Viewer_ToolMenuItem_Tool" data-uid="C1.WinUI.Viewer.ToolMenuItem.Tool">
          <a class="xref" href="C1.WinUI.Viewer.ToolMenuItem.Tool.html#C1_WinUI_Viewer_ToolMenuItem_Tool">Tool</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value that identifies the tool panel.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Viewer_ToolMenuItem_Visibility" data-uid="C1.WinUI.Viewer.ToolMenuItem.Visibility">
          <a class="xref" href="C1.WinUI.Viewer.ToolMenuItem.Visibility.html#C1_WinUI_Viewer_ToolMenuItem_Visibility">Visibility</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating if the item is visible.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WinUI_Viewer_ToolMenuItem_PropertyChanged" data-uid="C1.WinUI.Viewer.ToolMenuItem.PropertyChanged">
          <a class="xref" href="C1.WinUI.Viewer.ToolMenuItem.PropertyChanged.html">PropertyChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when a property value changes.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
