# C1.WPF.Schedule.CoveredElementsCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Schedule_CoveredElementsCollection" data-uid="C1.WPF.Schedule.CoveredElementsCollection" class="text-break">CoveredElementsCollection Class
</h1>
  <div class="markdown level0 summary"><p>The <a class="xref" href="C1.WPF.Schedule.CoveredElementsCollection.html">CoveredElementsCollection</a> represents an observable collection of
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a>s.</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.collections.objectmodel.collection-1">Collection</a>&lt;<a class="xref" href="C1.WPF.Schedule.CoveredElement.html">CoveredElement</a>&gt;</div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.keyedcollection-2">KeyedCollection</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a>, <a class="xref" href="C1.WPF.Schedule.CoveredElement.html">CoveredElement</a>&gt;</div>
    <div class="level3"><span class="xref">C1ObservableKeyedCollection</span>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a>, <a class="xref" href="C1.WPF.Schedule.CoveredElement.html">CoveredElement</a>&gt;</div>
    <div class="level4"><span class="xref">CoveredElementsCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<a class="xref" href="C1.WPF.Schedule.CoveredElement.html">CoveredElement</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;<a class="xref" href="C1.WPF.Schedule.CoveredElement.html">CoveredElement</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1">IReadOnlyList</a>&lt;<a class="xref" href="C1.WPF.Schedule.CoveredElement.html">CoveredElement</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1">IReadOnlyCollection</a>&lt;<a class="xref" href="C1.WPF.Schedule.CoveredElement.html">CoveredElement</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="C1.WPF.Schedule.CoveredElement.html">CoveredElement</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.specialized.inotifycollectionchanged">INotifyCollectionChanged</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Schedule.html">C1.WPF.Schedule</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Schedule.dll</h6>
  <h5 id="C1_WPF_Schedule_CoveredElementsCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CoveredElementsCollection : C1ObservableKeyedCollection&lt;FrameworkElement, CoveredElement&gt;, IList&lt;CoveredElement&gt;, ICollection&lt;CoveredElement&gt;, IList, ICollection, IReadOnlyList&lt;CoveredElement&gt;, IReadOnlyCollection&lt;CoveredElement&gt;, IEnumerable&lt;CoveredElement&gt;, IEnumerable, INotifyCollectionChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CoveredElementsCollection
    Inherits C1ObservableKeyedCollection(Of FrameworkElement, CoveredElement)
    Implements IList(Of CoveredElement), ICollection(Of CoveredElement), IList, ICollection, IReadOnlyList(Of CoveredElement), IReadOnlyCollection(Of CoveredElement), IEnumerable(Of CoveredElement), IEnumerable, INotifyCollectionChanged</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_Schedule_CoveredElementsCollection__ctor" data-uid="C1.WPF.Schedule.CoveredElementsCollection.#ctor">
          <a class="xref" href="C1.WPF.Schedule.CoveredElementsCollection.-ctor.html#C1_WPF_Schedule_CoveredElementsCollection__ctor">CoveredElementsCollection()</a>
        </td>
        <td class="markdown level1 summary"></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_Schedule_CoveredElementsCollection_GetKeyForItem_C1_WPF_Schedule_CoveredElement_" data-uid="C1.WPF.Schedule.CoveredElementsCollection.GetKeyForItem(C1.WPF.Schedule.CoveredElement)">
          <a class="xref" href="C1.WPF.Schedule.CoveredElementsCollection.GetKeyForItem.html#C1_WPF_Schedule_CoveredElementsCollection_GetKeyForItem_C1_WPF_Schedule_CoveredElement_">GetKeyForItem(CoveredElement)</a>
        </td>
        <td class="markdown level1 summary"><p>Extracts the key from the specified element.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
