# C1.WPF.C1Chart.C1ChartLegend

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_C1Chart_C1ChartLegend" data-uid="C1.WPF.C1Chart.C1ChartLegend" class="text-break">C1ChartLegend Class
</h1>
  <div class="markdown level0 summary"><p>Represents the 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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.threading.dispatcherobject">DispatcherObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.dependencyobject">DependencyObject</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.visual">Visual</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level6"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.control">Control</a></div>
    <div class="level7"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.itemscontrol">ItemsControl</a></div>
    <div class="level8"><span class="xref">C1ChartLegend</span></div>
      <div class="level9"><a class="xref" href="C1.WPF.C1Chart.Legend.html">Legend</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.animation.ianimatable">IAnimatable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iframeworkinputelement">IFrameworkInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iinputelement">IInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iqueryambient">IQueryAmbient</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iaddchild">IAddChild</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.primitives.icontainitemstorage">IContainItemStorage</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.C1Chart.html">C1.WPF.C1Chart</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.C1Chart.4.6.2.dll</h6>
  <h5 id="C1_WPF_C1Chart_C1ChartLegend_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1ChartLegend : ItemsControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IContainItemStorage</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1ChartLegend
    Inherits ItemsControl
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IContainItemStorage</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_WPF_C1Chart_C1ChartLegend__ctor" data-uid="C1.WPF.C1Chart.C1ChartLegend.#ctor">
          <a class="xref" href="C1.WPF.C1Chart.C1ChartLegend.-ctor.html#C1_WPF_C1Chart_C1ChartLegend__ctor">C1ChartLegend()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of Legend class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_C1Chart_C1ChartLegend_OrientationProperty" data-uid="C1.WPF.C1Chart.C1ChartLegend.OrientationProperty">
          <a class="xref" href="C1.WPF.C1Chart.C1ChartLegend.OrientationProperty.html">OrientationProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the Orientation dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_C1ChartLegend_OverlapChartProperty" data-uid="C1.WPF.C1Chart.C1ChartLegend.OverlapChartProperty">
          <a class="xref" href="C1.WPF.C1Chart.C1ChartLegend.OverlapChartProperty.html">OverlapChartProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the OverlapChart dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_C1ChartLegend_PositionProperty" data-uid="C1.WPF.C1Chart.C1ChartLegend.PositionProperty">
          <a class="xref" href="C1.WPF.C1Chart.C1ChartLegend.PositionProperty.html">PositionProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the Position dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_C1ChartLegend_TitleProperty" data-uid="C1.WPF.C1Chart.C1ChartLegend.TitleProperty">
          <a class="xref" href="C1.WPF.C1Chart.C1ChartLegend.TitleProperty.html">TitleProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the Title dependency property.</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_WPF_C1Chart_C1ChartLegend_Orientation" data-uid="C1.WPF.C1Chart.C1ChartLegend.Orientation">
          <a class="xref" href="C1.WPF.C1Chart.C1ChartLegend.Orientation.html#C1_WPF_C1Chart_C1ChartLegend_Orientation">Orientation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the layout orientation for the legend.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_C1ChartLegend_OverlapChart" data-uid="C1.WPF.C1Chart.C1ChartLegend.OverlapChart">
          <a class="xref" href="C1.WPF.C1Chart.C1ChartLegend.OverlapChart.html#C1_WPF_C1Chart_C1ChartLegend_OverlapChart">OverlapChart</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value which indicates whether the legend can overlap with the chart.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_C1ChartLegend_Position" data-uid="C1.WPF.C1Chart.C1ChartLegend.Position">
          <a class="xref" href="C1.WPF.C1Chart.C1ChartLegend.Position.html#C1_WPF_C1Chart_C1ChartLegend_Position">Position</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the legend position. The position is relative to the corresponding chart.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_C1ChartLegend_Title" data-uid="C1.WPF.C1Chart.C1ChartLegend.Title">
          <a class="xref" href="C1.WPF.C1Chart.C1ChartLegend.Title.html#C1_WPF_C1Chart_C1ChartLegend_Title">Title</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the legend title.</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_WPF_C1Chart_C1ChartLegend_ArrangeOverride_System_Windows_Size_" data-uid="C1.WPF.C1Chart.C1ChartLegend.ArrangeOverride(System.Windows.Size)">
          <a class="xref" href="C1.WPF.C1Chart.C1ChartLegend.ArrangeOverride.html#C1_WPF_C1Chart_C1ChartLegend_ArrangeOverride_System_Windows_Size_">ArrangeOverride(Size)</a>
        </td>
        <td class="markdown level1 summary"><p>Called to arrange and size the content of a C1ChartLegend object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_C1ChartLegend_OnItemsChanged_System_Collections_Specialized_NotifyCollectionChangedEventArgs_" data-uid="C1.WPF.C1Chart.C1ChartLegend.OnItemsChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs)">
          <a class="xref" href="C1.WPF.C1Chart.C1ChartLegend.OnItemsChanged.html#C1_WPF_C1Chart_C1ChartLegend_OnItemsChanged_System_Collections_Specialized_NotifyCollectionChangedEventArgs_">OnItemsChanged(NotifyCollectionChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Invoked when Items property changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_C1ChartLegend_OnPropertyChanged_System_Windows_DependencyPropertyChangedEventArgs_" data-uid="C1.WPF.C1Chart.C1ChartLegend.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)">
          <a class="xref" href="C1.WPF.C1Chart.C1ChartLegend.OnPropertyChanged.html#C1_WPF_C1Chart_C1ChartLegend_OnPropertyChanged_System_Windows_DependencyPropertyChangedEventArgs_">OnPropertyChanged(DependencyPropertyChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Invoked whenever dependency property has been updated.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_C1ChartLegend_OnVisualParentChanged_System_Windows_DependencyObject_" data-uid="C1.WPF.C1Chart.C1ChartLegend.OnVisualParentChanged(System.Windows.DependencyObject)">
          <a class="xref" href="C1.WPF.C1Chart.C1ChartLegend.OnVisualParentChanged.html#C1_WPF_C1Chart_C1ChartLegend_OnVisualParentChanged_System_Windows_DependencyObject_">OnVisualParentChanged(DependencyObject)</a>
        </td>
        <td class="markdown level1 summary"><p>Invoked when visual parent was changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
