# GrapeCity.Wpf.SpreadSheet.CellType.Editors.NotifyCollection-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NotifyCollection_1" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NotifyCollection`1" class="text-break">NotifyCollection&lt;T&gt; Class
</h1>
  <div class="markdown level0 summary"><p>Represents a dynamic data collection class, which is a base class for access collection data.</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;T&gt;</div>
    <div class="level2"><span class="xref">NotifyCollection&lt;T&gt;</span></div>
      <div class="level3"><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DateDisplayFieldCollection.html">DateDisplayFieldCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DateFieldCollection.html">DateFieldCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidayCollection.html">HolidayCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidaySettingCollection.html">HolidaySettingCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.MaskFieldCollection.html">MaskFieldCollection</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberDisplayFieldCollection.html">NumberDisplayFieldCollection</a></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;T&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;T&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;T&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1">IReadOnlyCollection</a>&lt;T&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;T&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="GrapeCity.Wpf.SpreadSheet.CellType.Editors.html">GrapeCity.Wpf.SpreadSheet.CellType.Editors</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Wpf.SpreadSheet.CellType.dll</h6>
  <h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NotifyCollection_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class NotifyCollection&lt;T&gt; : Collection&lt;T&gt;, IList&lt;T&gt;, ICollection&lt;T&gt;, IList, ICollection, IReadOnlyList&lt;T&gt;, IReadOnlyCollection&lt;T&gt;, IEnumerable&lt;T&gt;, IEnumerable, INotifyCollectionChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class NotifyCollection(Of T)
    Inherits Collection(Of T)
    Implements IList(Of T), ICollection(Of T), IList, ICollection, IReadOnlyList(Of T), IReadOnlyCollection(Of T), IEnumerable(Of T), IEnumerable, INotifyCollectionChanged</code></pre>
  </div>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of elements in collection.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NotifyCollection_1__ctor" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NotifyCollection`1.#ctor">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NotifyCollection-1.-ctor.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_NotifyCollection_1__ctor">NotifyCollection()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NotifyCollection-1.html">NotifyCollection&lt;T&gt;</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NotifyCollection_1__ctor_System_Collections_Generic_IEnumerable__0__" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NotifyCollection`1.#ctor(System.Collections.Generic.IEnumerable{`0})">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NotifyCollection-1.-ctor.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_NotifyCollection_1__ctor_System_Collections_Generic_IEnumerable__0__">NotifyCollection(IEnumerable&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NotifyCollection-1.html">NotifyCollection&lt;T&gt;</a> class
containing the elements of the specified enumerable source.</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="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NotifyCollection_1_AddRange_System_Collections_Generic_IEnumerable__0__" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NotifyCollection`1.AddRange(System.Collections.Generic.IEnumerable{`0})">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NotifyCollection-1.AddRange.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_NotifyCollection_1_AddRange_System_Collections_Generic_IEnumerable__0__">AddRange(IEnumerable&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds the contents of another <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList&lt;T&gt;</a> to the end of the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NotifyCollection_1_AddRange__0___" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NotifyCollection`1.AddRange(`0[])">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NotifyCollection-1.AddRange.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_NotifyCollection_1_AddRange__0___">AddRange(T[])</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the elements of the specified array to the end of the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NotifyCollection_1_ClearItems" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NotifyCollection`1.ClearItems">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NotifyCollection-1.ClearItems.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_NotifyCollection_1_ClearItems">ClearItems()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all items from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NotifyCollection_1_InsertItem_System_Int32__0_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NotifyCollection`1.InsertItem(System.Int32,`0)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NotifyCollection-1.InsertItem.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_NotifyCollection_1_InsertItem_System_Int32__0_">InsertItem(int, T)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts an item into the collection at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NotifyCollection_1_InsertItems_System_Int32_System_Collections_Generic_IEnumerable__0__" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NotifyCollection`1.InsertItems(System.Int32,System.Collections.Generic.IEnumerable{`0})">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NotifyCollection-1.InsertItems.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_NotifyCollection_1_InsertItems_System_Int32_System_Collections_Generic_IEnumerable__0__">InsertItems(int, IEnumerable&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts some items into the collection at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NotifyCollection_1_OnCollectionChanged_System_Collections_Specialized_NotifyCollectionChangedEventArgs_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NotifyCollection`1.OnCollectionChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NotifyCollection-1.OnCollectionChanged.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_NotifyCollection_1_OnCollectionChanged_System_Collections_Specialized_NotifyCollectionChangedEventArgs_">OnCollectionChanged(NotifyCollectionChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NotifyCollection-1.CollectionChanged.html">CollectionChanged</a> event with the provided arguments.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NotifyCollection_1_RemoveItem_System_Int32_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NotifyCollection`1.RemoveItem(System.Int32)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NotifyCollection-1.RemoveItem.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_NotifyCollection_1_RemoveItem_System_Int32_">RemoveItem(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the item at the specified index of the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NotifyCollection_1_SetItem_System_Int32__0_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NotifyCollection`1.SetItem(System.Int32,`0)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NotifyCollection-1.SetItem.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_NotifyCollection_1_SetItem_System_Int32__0_">SetItem(int, T)</a>
        </td>
        <td class="markdown level1 summary"><p>Replaces the element at the specified index.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NotifyCollection_1_CollectionChanged" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NotifyCollection`1.CollectionChanged">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NotifyCollection-1.CollectionChanged.html">CollectionChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when an item is added, removed, changed, moved, or the entire list is refreshed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
