# GrapeCity.ActiveReports.PageReportModel.Legend

## Content

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



  <h1 id="GrapeCity_ActiveReports_PageReportModel_Legend" data-uid="GrapeCity.ActiveReports.PageReportModel.Legend" class="text-break">Legend Class
</h1>
  <div class="markdown level0 summary"><p>The Legend element defines the properties that are used to display instances of the series groupings in a chart legend.</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">Legend</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.IValidateable.html">IValidateable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.html">GrapeCity.ActiveReports.PageReportModel</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Rdl.dll</h6>
  <h5 id="GrapeCity_ActiveReports_PageReportModel_Legend_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class Legend : IValidateable</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_PageReportModel_Legend__ctor" data-uid="GrapeCity.ActiveReports.PageReportModel.Legend.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Legend.-ctor.html#GrapeCity_ActiveReports_PageReportModel_Legend__ctor">Legend()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Legend.html">Legend</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="GrapeCity_ActiveReports_PageReportModel_Legend_InsidePlotArea" data-uid="GrapeCity.ActiveReports.PageReportModel.Legend.InsidePlotArea">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Legend.InsidePlotArea.html#GrapeCity_ActiveReports_PageReportModel_Legend_InsidePlotArea">InsidePlotArea</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether to draw the legend inside or outside the plot area.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Legend_Layout" data-uid="GrapeCity.ActiveReports.PageReportModel.Legend.Layout">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Legend.Layout.html#GrapeCity_ActiveReports_PageReportModel_Legend_Layout">Layout</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the arrangement of labels within the legend.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Legend_Position" data-uid="GrapeCity.ActiveReports.PageReportModel.Legend.Position">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Legend.Position.html#GrapeCity_ActiveReports_PageReportModel_Legend_Position">Position</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the position of the legend.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Legend_Style" data-uid="GrapeCity.ActiveReports.PageReportModel.Legend.Style">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Legend.Style.html#GrapeCity_ActiveReports_PageReportModel_Legend_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text, border and background style properties for the legend.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Legend_UseSmartSettings" data-uid="GrapeCity.ActiveReports.PageReportModel.Legend.UseSmartSettings">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Legend.UseSmartSettings.html#GrapeCity_ActiveReports_PageReportModel_Legend_UseSmartSettings">UseSmartSettings</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value indicates whether to use automatic legend.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Legend_Visible" data-uid="GrapeCity.ActiveReports.PageReportModel.Legend.Visible">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Legend.Visible.html#GrapeCity_ActiveReports_PageReportModel_Legend_Visible">Visible</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether a legend is displayed.</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_PageReportModel_Legend_Validate_GrapeCity_ActiveReports_PageReportModel_ValidationContext_" data-uid="GrapeCity.ActiveReports.PageReportModel.Legend.Validate(GrapeCity.ActiveReports.PageReportModel.ValidationContext)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Legend.Validate.html#GrapeCity_ActiveReports_PageReportModel_Legend_Validate_GrapeCity_ActiveReports_PageReportModel_ValidationContext_">Validate(ValidationContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Validates the information in each property of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Legend.html">Legend</a> object.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Rdl.Tools.CollectionExtensions.AddRange.html#GrapeCity_ActiveReports_Rdl_Tools_CollectionExtensions_AddRange__2___0_System_Collections_Generic_IEnumerable___1__">CollectionExtensions.AddRange&lt;TCollection, TItem&gt;(TCollection, IEnumerable&lt;TItem&gt;)</a>
  </div>

</div>
