# C1.Win.Map.MapLegend

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Map_MapLegend" data-uid="C1.Win.Map.MapLegend" class="text-break">MapLegend Class
</h1>
  <div class="markdown level0 summary"><p>Represetns the legend displayed in the C1Map.</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="C1.Win.Map.NotifyObject.html">NotifyObject</a></div>
    <div class="level2"><a class="xref" href="C1.Win.Map.MapVisualItem.html">MapVisualItem</a></div>
    <div class="level3"><a class="xref" href="C1.Win.Map.MapSubItem.html">MapSubItem</a></div>
    <div class="level4"><span class="xref">MapLegend</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Map.html">C1.Win.Map</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Map.10.dll</h6>
  <h5 id="C1_Win_Map_MapLegend_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class MapLegend : MapSubItem</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class MapLegend
    Inherits MapSubItem</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_Map_MapLegend__ctor" data-uid="C1.Win.Map.MapLegend.#ctor">
          <a class="xref" href="C1.Win.Map.MapLegend.-ctor.html#C1_Win_Map_MapLegend__ctor">MapLegend()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of <a class="xref" href="C1.Win.Map.MapLegend.html">MapLegend</a> object.</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_Win_Map_MapLegend_Items" data-uid="C1.Win.Map.MapLegend.Items">
          <a class="xref" href="C1.Win.Map.MapLegend.Items.html#C1_Win_Map_MapLegend_Items">Items</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of legend items.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Map_MapLegend_Layout" data-uid="C1.Win.Map.MapLegend.Layout">
          <a class="xref" href="C1.Win.Map.MapLegend.Layout.html#C1_Win_Map_MapLegend_Layout">Layout</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the layout method of legend items.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Map_MapLegend_Title" data-uid="C1.Win.Map.MapLegend.Title">
          <a class="xref" href="C1.Win.Map.MapLegend.Title.html#C1_Win_Map_MapLegend_Title">Title</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the title of this legend.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
