# FarPoint.Win.Chart.LegendArea

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Chart_LegendArea" data-uid="FarPoint.Win.Chart.LegendArea" class="text-break">LegendArea Class
</h1>
  <div class="markdown level0 summary"><p>Represents a legend area in the chart.</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">LegendArea</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
    <div><span class="xref">IXmlSerializable</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Chart.html">FarPoint.Win.Chart</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Chart.dll</h6>
  <h5 id="FarPoint_Win_Chart_LegendArea_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(GenericTypeConverter&lt;LegendArea&gt;))]
public class LegendArea : ICloneable, IXmlSerializable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(GenericTypeConverter(Of LegendArea)))&gt;
Public Class LegendArea
    Implements ICloneable, IXmlSerializable</code></pre>
  </div>
  <h5 id="FarPoint_Win_Chart_LegendArea_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>The legend area can contain legend items, a background, and borders.
The legend area is positioned using a relative location (where
(0,0) = left upper corner of chart and (1,1) = right lower corner
of chart) and a relative alignment (where (0,0) = left upper corner
of label area and (1,1) = right lower corner of label area).</p>
</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="FarPoint_Win_Chart_LegendArea__ctor" data-uid="FarPoint.Win.Chart.LegendArea.#ctor">
          <a class="xref" href="FarPoint.Win.Chart.LegendArea.-ctor.html#FarPoint_Win_Chart_LegendArea__ctor">LegendArea()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new legend area.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Chart_LegendArea__ctor_FarPoint_Win_Chart_LegendArea_" data-uid="FarPoint.Win.Chart.LegendArea.#ctor(FarPoint.Win.Chart.LegendArea)">
          <a class="xref" href="FarPoint.Win.Chart.LegendArea.-ctor.html#FarPoint_Win_Chart_LegendArea__ctor_FarPoint_Win_Chart_LegendArea_">LegendArea(LegendArea)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new legend area that is a deep copy of the specified
legend area.</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="FarPoint_Win_Chart_LegendArea_AlignmentX" data-uid="FarPoint.Win.Chart.LegendArea.AlignmentX">
          <a class="xref" href="FarPoint.Win.Chart.LegendArea.AlignmentX.html#FarPoint_Win_Chart_LegendArea_AlignmentX">AlignmentX</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the horizontal alignment of the legend area.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Chart_LegendArea_AlignmentY" data-uid="FarPoint.Win.Chart.LegendArea.AlignmentY">
          <a class="xref" href="FarPoint.Win.Chart.LegendArea.AlignmentY.html#FarPoint_Win_Chart_LegendArea_AlignmentY">AlignmentY</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the vertical alignment of the legend area.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Chart_LegendArea_Border" data-uid="FarPoint.Win.Chart.LegendArea.Border">
          <a class="xref" href="FarPoint.Win.Chart.LegendArea.Border.html#FarPoint_Win_Chart_LegendArea_Border">Border</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the border around the legend area.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Chart_LegendArea_Fill" data-uid="FarPoint.Win.Chart.LegendArea.Fill">
          <a class="xref" href="FarPoint.Win.Chart.LegendArea.Fill.html#FarPoint_Win_Chart_LegendArea_Fill">Fill</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the fill for the background of the legend area.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Chart_LegendArea_LegendAreaId" data-uid="FarPoint.Win.Chart.LegendArea.LegendAreaId">
          <a class="xref" href="FarPoint.Win.Chart.LegendArea.LegendAreaId.html#FarPoint_Win_Chart_LegendArea_LegendAreaId">LegendAreaId</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the ID of the legend area.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Chart_LegendArea_LegendPos" data-uid="FarPoint.Win.Chart.LegendArea.LegendPos">
          <a class="xref" href="FarPoint.Win.Chart.LegendArea.LegendPos.html#FarPoint_Win_Chart_LegendArea_LegendPos">LegendPos</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the legend items position.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Chart_LegendArea_Location" data-uid="FarPoint.Win.Chart.LegendArea.Location">
          <a class="xref" href="FarPoint.Win.Chart.LegendArea.Location.html#FarPoint_Win_Chart_LegendArea_Location">Location</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the location of the legend area in the control
canvas space.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Chart_LegendArea_ManualLayout" data-uid="FarPoint.Win.Chart.LegendArea.ManualLayout">
          <a class="xref" href="FarPoint.Win.Chart.LegendArea.ManualLayout.html#FarPoint_Win_Chart_LegendArea_ManualLayout">ManualLayout</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the legend items are manually placed.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Chart_LegendArea_Overlay" data-uid="FarPoint.Win.Chart.LegendArea.Overlay">
          <a class="xref" href="FarPoint.Win.Chart.LegendArea.Overlay.html#FarPoint_Win_Chart_LegendArea_Overlay">Overlay</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the legend area overlaps the plot area.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Chart_LegendArea_Padding" data-uid="FarPoint.Win.Chart.LegendArea.Padding">
          <a class="xref" href="FarPoint.Win.Chart.LegendArea.Padding.html#FarPoint_Win_Chart_LegendArea_Padding">Padding</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the amount of extra space around the text.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Chart_LegendArea_TextFill" data-uid="FarPoint.Win.Chart.LegendArea.TextFill">
          <a class="xref" href="FarPoint.Win.Chart.LegendArea.TextFill.html#FarPoint_Win_Chart_LegendArea_TextFill">TextFill</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the fill of the text.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Chart_LegendArea_TextFont" data-uid="FarPoint.Win.Chart.LegendArea.TextFont">
          <a class="xref" href="FarPoint.Win.Chart.LegendArea.TextFont.html#FarPoint_Win_Chart_LegendArea_TextFont">TextFont</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the font of the text.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Chart_LegendArea_Vertical" data-uid="FarPoint.Win.Chart.LegendArea.Vertical">
          <a class="xref" href="FarPoint.Win.Chart.LegendArea.Vertical.html#FarPoint_Win_Chart_LegendArea_Vertical">Vertical</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the legend items are layed out vertically
or horizontally.</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="FarPoint_Win_Chart_LegendArea_Clone" data-uid="FarPoint.Win.Chart.LegendArea.Clone">
          <a class="xref" href="FarPoint.Win.Chart.LegendArea.Clone.html#FarPoint_Win_Chart_LegendArea_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a deep copy of this legend area.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Chart_LegendArea_GetSchema" data-uid="FarPoint.Win.Chart.LegendArea.GetSchema">
          <a class="xref" href="FarPoint.Win.Chart.LegendArea.GetSchema.html#FarPoint_Win_Chart_LegendArea_GetSchema">GetSchema()</a>
        </td>
        <td class="markdown level1 summary"><p>This method is reserved and should not be used.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Chart_LegendArea_OnChanged_System_EventArgs_" data-uid="FarPoint.Win.Chart.LegendArea.OnChanged(System.EventArgs)">
          <a class="xref" href="FarPoint.Win.Chart.LegendArea.OnChanged.html#FarPoint_Win_Chart_LegendArea_OnChanged_System_EventArgs_">OnChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the Changed event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Chart_LegendArea_ReadXml_System_Xml_XmlReader_" data-uid="FarPoint.Win.Chart.LegendArea.ReadXml(System.Xml.XmlReader)">
          <a class="xref" href="FarPoint.Win.Chart.LegendArea.ReadXml.html#FarPoint_Win_Chart_LegendArea_ReadXml_System_Xml_XmlReader_">ReadXml(XmlReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Generates an object from its XML representation.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Chart_LegendArea_WriteXml_System_Xml_XmlWriter_" data-uid="FarPoint.Win.Chart.LegendArea.WriteXml(System.Xml.XmlWriter)">
          <a class="xref" href="FarPoint.Win.Chart.LegendArea.WriteXml.html#FarPoint_Win_Chart_LegendArea_WriteXml_System_Xml_XmlWriter_">WriteXml(XmlWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts an object into its XML representation.</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="FarPoint_Win_Chart_LegendArea_Changed" data-uid="FarPoint.Win.Chart.LegendArea.Changed">
          <a class="xref" href="FarPoint.Win.Chart.LegendArea.Changed.html">Changed</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the legend area is changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
