# C1.WPF.Schedule.CoverElementCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Schedule_CoverElementCollection" data-uid="C1.WPF.Schedule.CoverElementCollection" class="text-break">CoverElementCollection Class
</h1>
  <div class="markdown level0 summary"><p>The <a class="xref" href="C1.WPF.Schedule.CoverElementCollection.html">CoverElementCollection</a> is a observable keyed collection of <a class="xref" href="C1.WPF.Schedule.CoverElement.html">CoverElement</a> objects.</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.CoverElement.html">CoverElement</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.object">object</a>, <a class="xref" href="C1.WPF.Schedule.CoverElement.html">CoverElement</a>&gt;</div>
    <div class="level3"><span class="xref">C1ObservableKeyedCollection</span>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>, <a class="xref" href="C1.WPF.Schedule.CoverElement.html">CoverElement</a>&gt;</div>
    <div class="level4"><span class="xref">CoverElementCollection</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.CoverElement.html">CoverElement</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.CoverElement.html">CoverElement</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.CoverElement.html">CoverElement</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.CoverElement.html">CoverElement</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.CoverElement.html">CoverElement</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_CoverElementCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CoverElementCollection : C1ObservableKeyedCollection&lt;object, CoverElement&gt;, IList&lt;CoverElement&gt;, ICollection&lt;CoverElement&gt;, IList, ICollection, IReadOnlyList&lt;CoverElement&gt;, IReadOnlyCollection&lt;CoverElement&gt;, IEnumerable&lt;CoverElement&gt;, IEnumerable, INotifyCollectionChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CoverElementCollection
    Inherits C1ObservableKeyedCollection(Of Object, CoverElement)
    Implements IList(Of CoverElement), ICollection(Of CoverElement), IList, ICollection, IReadOnlyList(Of CoverElement), IReadOnlyCollection(Of CoverElement), IEnumerable(Of CoverElement), 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_CoverElementCollection__ctor_C1_WPF_Schedule_CoverElementsPane_" data-uid="C1.WPF.Schedule.CoverElementCollection.#ctor(C1.WPF.Schedule.CoverElementsPane)">
          <a class="xref" href="C1.WPF.Schedule.CoverElementCollection.-ctor.html#C1_WPF_Schedule_CoverElementCollection__ctor_C1_WPF_Schedule_CoverElementsPane_">CoverElementCollection(CoverElementsPane)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.Schedule.CoverElementCollection.html">CoverElementCollection</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_Schedule_CoverElementCollection_Item_System_Int32_" data-uid="C1.WPF.Schedule.CoverElementCollection.Item(System.Int32)">
          <a class="xref" href="C1.WPF.Schedule.CoverElementCollection.Item.html#C1_WPF_Schedule_CoverElementCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an object by index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_CoverElementCollection_Owner" data-uid="C1.WPF.Schedule.CoverElementCollection.Owner">
          <a class="xref" href="C1.WPF.Schedule.CoverElementCollection.Owner.html#C1_WPF_Schedule_CoverElementCollection_Owner">Owner</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a reference to the owning <a class="xref" href="C1.WPF.Schedule.CoverElementsPane.html">CoverElementsPane</a> pane.</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_Schedule_CoverElementCollection_GetKeyForItem_C1_WPF_Schedule_CoverElement_" data-uid="C1.WPF.Schedule.CoverElementCollection.GetKeyForItem(C1.WPF.Schedule.CoverElement)">
          <a class="xref" href="C1.WPF.Schedule.CoverElementCollection.GetKeyForItem.html#C1_WPF_Schedule_CoverElementCollection_GetKeyForItem_C1_WPF_Schedule_CoverElement_">GetKeyForItem(CoverElement)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the <a class="xref" href="C1.WPF.Schedule.CoverElement.DataObject.html#C1_WPF_Schedule_CoverElement_DataObject">DataObject</a> property value.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
