# C1.Win.Chart.Toolbar.LegendMenuItem

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Chart_Toolbar_LegendMenuItem" data-uid="C1.Win.Chart.Toolbar.LegendMenuItem" class="text-break">LegendMenuItem Class
</h1>
  <div class="markdown level0 summary"><p>FlexChart menu item with legend options.</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/system.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.bindablecomponent">BindableComponent</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.toolstripitem">ToolStripItem</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.toolstripdropdownitem">ToolStripDropDownItem</a></div>
    <div class="level6"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.toolstripmenuitem">ToolStripMenuItem</a></div>
    <div class="level7"><a class="xref" href="C1.Win.Chart.Toolbar.ChartMenuItemBase.html">ChartMenuItemBase</a></div>
    <div class="level8"><span class="xref">LegendMenuItem</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.ibindablecomponent">IBindableComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.idroptarget">IDropTarget</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Chart.Toolbar.html">C1.Win.Chart.Toolbar</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.FlexChart.Toolbar.10.dll</h6>
  <h5 id="C1_Win_Chart_Toolbar_LegendMenuItem_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class LegendMenuItem : ChartMenuItemBase, IBindableComponent, IDropTarget, IComponent, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class LegendMenuItem
    Inherits ChartMenuItemBase
    Implements IBindableComponent, IDropTarget, IComponent, IDisposable</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_Win_Chart_Toolbar_LegendMenuItem__ctor" data-uid="C1.Win.Chart.Toolbar.LegendMenuItem.#ctor">
          <a class="xref" href="C1.Win.Chart.Toolbar.LegendMenuItem.-ctor.html#C1_Win_Chart_Toolbar_LegendMenuItem__ctor">LegendMenuItem()</a>
        </td>
        <td class="markdown level1 summary"><p>Create an instance of LegendMenuItem class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Toolbar_LegendMenuItem__ctor_C1_Win_Chart_FlexChart_System_String_" data-uid="C1.Win.Chart.Toolbar.LegendMenuItem.#ctor(C1.Win.Chart.FlexChart,System.String)">
          <a class="xref" href="C1.Win.Chart.Toolbar.LegendMenuItem.-ctor.html#C1_Win_Chart_Toolbar_LegendMenuItem__ctor_C1_Win_Chart_FlexChart_System_String_">LegendMenuItem(FlexChart, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Create an instance of LegendMenuItem class.</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_Win_Chart_Toolbar_LegendMenuItem_Init" data-uid="C1.Win.Chart.Toolbar.LegendMenuItem.Init">
          <a class="xref" href="C1.Win.Chart.Toolbar.LegendMenuItem.Init.html#C1_Win_Chart_Toolbar_LegendMenuItem_Init">Init()</a>
        </td>
        <td class="markdown level1 summary"><p>Init menu items.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Toolbar_LegendMenuItem_IsDirty" data-uid="C1.Win.Chart.Toolbar.LegendMenuItem.IsDirty">
          <a class="xref" href="C1.Win.Chart.Toolbar.LegendMenuItem.IsDirty.html#C1_Win_Chart_Toolbar_LegendMenuItem_IsDirty">IsDirty()</a>
        </td>
        <td class="markdown level1 summary"><p>Whether the item update required.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
