# C1.Document.NotifyCollectionEventArgs

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Document_NotifyCollectionEventArgs" data-uid="C1.Document.NotifyCollectionEventArgs" class="text-break">NotifyCollectionEventArgs Class
</h1>
  <div class="markdown level0 summary"><p>Provides data for the <a class="xref" href="C1.Document.INotifyCollection.CollectionChanged.html">CollectionChanged</a> and <a class="xref" href="C1.Document.INotifyCollection.CollectionChanging.html">CollectionChanging</a> events.</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.eventargs">EventArgs</a></div>
    <div class="level2"><span class="xref">NotifyCollectionEventArgs</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Document.html">C1.Document</a></h6>
  <h6><strong>Assembly</strong>: C1.Document.dll</h6>
  <h5 id="C1_Document_NotifyCollectionEventArgs_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class NotifyCollectionEventArgs : EventArgs</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class NotifyCollectionEventArgs
    Inherits EventArgs</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_Document_NotifyCollectionEventArgs__ctor_C1_Document_CollectionAction_System_Int32_" data-uid="C1.Document.NotifyCollectionEventArgs.#ctor(C1.Document.CollectionAction,System.Int32)">
          <a class="xref" href="C1.Document.NotifyCollectionEventArgs.-ctor.html#C1_Document_NotifyCollectionEventArgs__ctor_C1_Document_CollectionAction_System_Int32_">NotifyCollectionEventArgs(CollectionAction, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Document.NotifyCollectionEventArgs.html">NotifyCollectionEventArgs</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Document_NotifyCollectionEventArgs_Clear" data-uid="C1.Document.NotifyCollectionEventArgs.Clear">
          <a class="xref" href="C1.Document.NotifyCollectionEventArgs.Clear.html">Clear</a>
        </td>
        <td class="markdown level1 summary"><p>The default value of <a class="xref" href="C1.Document.NotifyCollectionEventArgs.html">NotifyCollectionEventArgs</a> instance.</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_Document_NotifyCollectionEventArgs_Action" data-uid="C1.Document.NotifyCollectionEventArgs.Action">
          <a class="xref" href="C1.Document.NotifyCollectionEventArgs.Action.html#C1_Document_NotifyCollectionEventArgs_Action">Action</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the action that caused the event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_NotifyCollectionEventArgs_Index" data-uid="C1.Document.NotifyCollectionEventArgs.Index">
          <a class="xref" href="C1.Document.NotifyCollectionEventArgs.Index.html#C1_Document_NotifyCollectionEventArgs_Index">Index</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of the item that is affected by the change.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
