# GrapeCity.ActiveReports.Chart.LegendItem

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_Chart_LegendItem" data-uid="GrapeCity.ActiveReports.Chart.LegendItem" class="text-break">LegendItem Class
</h1>
  <div class="markdown level0 summary"><p>Custom legend item</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="GrapeCity.ActiveReports.Chart.Item.html">Item</a></div>
    <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Chart.ItemComponent.html">ItemComponent</a></div>
    <div class="level3"><span class="xref">LegendItem</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.ActiveReports.Chart.IGraphItem.html">IGraphItem</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
    <div><a class="xref" href="GrapeCity.ActiveReports.Chart.IGraphXmlSerializable.html">IGraphXmlSerializable</a></div>
    <div><a class="xref" href="GrapeCity.ActiveReports.Chart.INamedComponent.html">INamedComponent</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="GrapeCity.ActiveReports.Chart.html">GrapeCity.ActiveReports.Chart</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Chart.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Chart_LegendItem_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof())]
public sealed class LegendItem : ItemComponent, IGraphItem, ICloneable, IGraphXmlSerializable, INamedComponent, 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="GrapeCity_ActiveReports_Chart_LegendItem__ctor" data-uid="GrapeCity.ActiveReports.Chart.LegendItem.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.LegendItem.-ctor.html#GrapeCity_ActiveReports_Chart_LegendItem__ctor">LegendItem()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes new instance of the LegendItem class</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_LegendItem__ctor_System_String_" data-uid="GrapeCity.ActiveReports.Chart.LegendItem.#ctor(System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.LegendItem.-ctor.html#GrapeCity_ActiveReports_Chart_LegendItem__ctor_System_String_">LegendItem(string)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_LegendItem__ctor_System_String_GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext_" data-uid="GrapeCity.ActiveReports.Chart.LegendItem.#ctor(System.String,GrapeCity.ActiveReports.Chart.GraphXmlSerializationContext)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.LegendItem.-ctor.html#GrapeCity_ActiveReports_Chart_LegendItem__ctor_System_String_GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext_">LegendItem(string, GraphXmlSerializationContext)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use only.</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="GrapeCity_ActiveReports_Chart_LegendItem_Backdrop" data-uid="GrapeCity.ActiveReports.Chart.LegendItem.Backdrop">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.LegendItem.Backdrop.html#GrapeCity_ActiveReports_Chart_LegendItem_Backdrop">Backdrop</a>
        </td>
        <td class="markdown level1 summary"><p>Backdrop to draw under the legend marker shape</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_LegendItem_Border" data-uid="GrapeCity.ActiveReports.Chart.LegendItem.Border">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.LegendItem.Border.html#GrapeCity_ActiveReports_Chart_LegendItem_Border">Border</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets border to draw around legend marker shape</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_LegendItem_Line" data-uid="GrapeCity.ActiveReports.Chart.LegendItem.Line">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.LegendItem.Line.html#GrapeCity_ActiveReports_Chart_LegendItem_Line">Line</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets Line style to display on marker shape</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_LegendItem_Marker" data-uid="GrapeCity.ActiveReports.Chart.LegendItem.Marker">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.LegendItem.Marker.html#GrapeCity_ActiveReports_Chart_LegendItem_Marker">Marker</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets series marker info to draw inside legend marker</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_LegendItem_Style" data-uid="GrapeCity.ActiveReports.Chart.LegendItem.Style">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.LegendItem.Style.html#GrapeCity_ActiveReports_Chart_LegendItem_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets Marker shape</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_LegendItem_Text" data-uid="GrapeCity.ActiveReports.Chart.LegendItem.Text">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.LegendItem.Text.html#GrapeCity_ActiveReports_Chart_LegendItem_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets text string to display on legend</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="GrapeCity_ActiveReports_Chart_LegendItem_Clone" data-uid="GrapeCity.ActiveReports.Chart.LegendItem.Clone">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.LegendItem.Clone.html#GrapeCity_ActiveReports_Chart_LegendItem_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><pre><code>        This member overrides 
</code></pre>
<pre><code class="lang-csharp">Item.Clone</code></pre>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_LegendItem_ToString" data-uid="GrapeCity.ActiveReports.Chart.LegendItem.ToString">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.LegendItem.ToString.html#GrapeCity_ActiveReports_Chart_LegendItem_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> that represents this instance.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
