# C1.WPF.Maps.MapItemsLayer

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Maps_MapItemsLayer" data-uid="C1.WPF.Maps.MapItemsLayer" class="text-break">MapItemsLayer Class
</h1>
  <div class="markdown level0 summary"><p>An <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.itemscontrol">ItemsControl</a> that displays its items positioned geographically inside a <a class="xref" href="C1.WPF.Maps.C1Maps.html">C1Maps</a>.</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.media.visual">Visual</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.control">Control</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.itemscontrol">ItemsControl</a></div>
    <div class="level6"><span class="xref">MapItemsLayer</span></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><a class="xref" href="C1.WPF.Maps.IRotatableMapLayer.html">IRotatableMapLayer</a></div>
    <div><a class="xref" href="C1.WPF.Maps.IMapLayer.html">IMapLayer</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="C1.WPF.Maps.html">C1.WPF.Maps</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Maps.dll</h6>
  <h5 id="C1_WPF_Maps_MapItemsLayer_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class MapItemsLayer : ItemsControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IContainItemStorage, IRotatableMapLayer, IMapLayer, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class MapItemsLayer
    Inherits ItemsControl
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IContainItemStorage, IRotatableMapLayer, IMapLayer, 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="C1_WPF_Maps_MapItemsLayer__ctor" data-uid="C1.WPF.Maps.MapItemsLayer.#ctor">
          <a class="xref" href="C1.WPF.Maps.MapItemsLayer.-ctor.html#C1_WPF_Maps_MapItemsLayer__ctor">MapItemsLayer()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.Maps.MapItemsLayer.html">MapItemsLayer</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="C1_WPF_Maps_MapItemsLayer_IsDisposed" data-uid="C1.WPF.Maps.MapItemsLayer.IsDisposed">
          <a class="xref" href="C1.WPF.Maps.MapItemsLayer.IsDisposed.html#C1_WPF_Maps_MapItemsLayer_IsDisposed">IsDisposed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether this instance is disposed.</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_Maps_MapItemsLayer_Dispose" data-uid="C1.WPF.Maps.MapItemsLayer.Dispose">
          <a class="xref" href="C1.WPF.Maps.MapItemsLayer.Dispose.html#C1_WPF_Maps_MapItemsLayer_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Maps_MapItemsLayer_Dispose_System_Boolean_" data-uid="C1.WPF.Maps.MapItemsLayer.Dispose(System.Boolean)">
          <a class="xref" href="C1.WPF.Maps.MapItemsLayer.Dispose.html#C1_WPF_Maps_MapItemsLayer_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Maps_MapItemsLayer_GetRotatableElements" data-uid="C1.WPF.Maps.MapItemsLayer.GetRotatableElements">
          <a class="xref" href="C1.WPF.Maps.MapItemsLayer.GetRotatableElements.html#C1_WPF_Maps_MapItemsLayer_GetRotatableElements">GetRotatableElements()</a>
        </td>
        <td class="markdown level1 summary"><p>Get the list of rotatable elements.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Maps_MapItemsLayer_OnApplyTemplate" data-uid="C1.WPF.Maps.MapItemsLayer.OnApplyTemplate">
          <a class="xref" href="C1.WPF.Maps.MapItemsLayer.OnApplyTemplate.html#C1_WPF_Maps_MapItemsLayer_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Maps_MapItemsLayer_PrepareContainerForItemOverride_System_Windows_DependencyObject_System_Object_" data-uid="C1.WPF.Maps.MapItemsLayer.PrepareContainerForItemOverride(System.Windows.DependencyObject,System.Object)">
          <a class="xref" href="C1.WPF.Maps.MapItemsLayer.PrepareContainerForItemOverride.html#C1_WPF_Maps_MapItemsLayer_PrepareContainerForItemOverride_System_Windows_DependencyObject_System_Object_">PrepareContainerForItemOverride(DependencyObject, object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
