# C1.C1Preview.OwnedFastList

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_OwnedFastList" data-uid="C1.C1Preview.OwnedFastList" class="text-break">OwnedFastList Class
</h1>
  <div class="markdown level0 summary"><p>Describes a <a class="xref" href="C1.C1Preview.Util.FastList.html">FastList</a> with an owner.
Base class for <a class="xref" href="C1.C1Preview.OwnedFastListBase.html">OwnedFastListBase</a>.
Additional to <a class="xref" href="C1.C1Preview.OwnedFastListBase.html">OwnedFastListBase</a> updates Owner property
of items if they supports <span class="xref">C1.C1Preview.IOwnedCollectionItem</span> interface.</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="C1.C1Preview.Util.FastList.html">FastList</a></div>
    <div class="level2"><a class="xref" href="C1.C1Preview.OwnedFastListBase.html">OwnedFastListBase</a></div>
    <div class="level3"><span class="xref">OwnedFastList</span></div>
      <div class="level4"><a class="xref" href="C1.C1Preview.C1PageCollection.html">C1PageCollection</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <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.ienumerable">IEnumerable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Preview.html">C1.C1Preview</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.PrintDocument.4.6.2.dll</h6>
  <h5 id="C1_C1Preview_OwnedFastList_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class OwnedFastList : OwnedFastListBase, IList, ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class OwnedFastList
    Inherits OwnedFastListBase
    Implements IList, ICollection, IEnumerable</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_C1Preview_OwnedFastList__ctor" data-uid="C1.C1Preview.OwnedFastList.#ctor">
          <a class="xref" href="C1.C1Preview.OwnedFastList.-ctor.html#C1_C1Preview_OwnedFastList__ctor">OwnedFastList()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.OwnedFastList.html">OwnedFastList</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_OwnedFastList__ctor_C1_C1Preview_ICollectionOwner_" data-uid="C1.C1Preview.OwnedFastList.#ctor(C1.C1Preview.ICollectionOwner)">
          <a class="xref" href="C1.C1Preview.OwnedFastList.-ctor.html#C1_C1Preview_OwnedFastList__ctor_C1_C1Preview_ICollectionOwner_">OwnedFastList(ICollectionOwner)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.OwnedFastList.html">OwnedFastList</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_C1Preview_OwnedFastList_Owner" data-uid="C1.C1Preview.OwnedFastList.Owner">
          <a class="xref" href="C1.C1Preview.OwnedFastList.Owner.html#C1_C1Preview_OwnedFastList_Owner">Owner</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the owner of collection.</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_C1Preview_OwnedFastList_GetItemType" data-uid="C1.C1Preview.OwnedFastList.GetItemType">
          <a class="xref" href="C1.C1Preview.OwnedFastList.GetItemType.html#C1_C1Preview_OwnedFastList_GetItemType">GetItemType()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the type of items in the collection.
If this method returns null, items of different types can be added to the collection.
Otherwise, only items of the type this method returns can be added.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_OwnedFastList_OnClear" data-uid="C1.C1Preview.OwnedFastList.OnClear">
          <a class="xref" href="C1.C1Preview.OwnedFastList.OnClear.html#C1_C1Preview_OwnedFastList_OnClear">OnClear()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the list is about to be cleared.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_OwnedFastList_OnInsert_System_Int32_System_Object_" data-uid="C1.C1Preview.OwnedFastList.OnInsert(System.Int32,System.Object)">
          <a class="xref" href="C1.C1Preview.OwnedFastList.OnInsert.html#C1_C1Preview_OwnedFastList_OnInsert_System_Int32_System_Object_">OnInsert(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when an item is about to be iserted.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_OwnedFastList_OnInsertComplete_System_Int32_System_Object_" data-uid="C1.C1Preview.OwnedFastList.OnInsertComplete(System.Int32,System.Object)">
          <a class="xref" href="C1.C1Preview.OwnedFastList.OnInsertComplete.html#C1_C1Preview_OwnedFastList_OnInsertComplete_System_Int32_System_Object_">OnInsertComplete(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Called after an item has been inserted.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_OwnedFastList_OnRemoveComplete_System_Int32_System_Object_" data-uid="C1.C1Preview.OwnedFastList.OnRemoveComplete(System.Int32,System.Object)">
          <a class="xref" href="C1.C1Preview.OwnedFastList.OnRemoveComplete.html#C1_C1Preview_OwnedFastList_OnRemoveComplete_System_Int32_System_Object_">OnRemoveComplete(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Called after an item has been removed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
