# C1.C1Preview.RenderFragmentCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_RenderFragmentCollection" data-uid="C1.C1Preview.RenderFragmentCollection" class="text-break">RenderFragmentCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of fragments (<a class="xref" href="C1.C1Preview.RenderFragment.html">RenderFragment</a>)
of a <a class="xref" href="C1.C1Preview.RenderObject.html">RenderObject</a>.
All elements of this collection are sorted by <a class="xref" href="C1.C1Preview.RenderObject.ZOrder.html#C1_C1Preview_RenderObject_ZOrder">ZOrder</a>
of the render object to perform drawing and searching.</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.collectionbase">CollectionBase</a></div>
    <div class="level2"><a class="xref" href="C1.C1Preview.OwnedCollectionBase.html">OwnedCollectionBase</a></div>
    <div class="level3"><span class="xref">RenderFragmentCollection</span></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_RenderFragmentCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class RenderFragmentCollection : OwnedCollectionBase, IList, ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class RenderFragmentCollection
    Inherits OwnedCollectionBase
    Implements IList, ICollection, IEnumerable</code></pre>
  </div>
  <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_RenderFragmentCollection_Item_System_Int32_" data-uid="C1.C1Preview.RenderFragmentCollection.Item(System.Int32)">
          <a class="xref" href="C1.C1Preview.RenderFragmentCollection.Item.html#C1_C1Preview_RenderFragmentCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the element at the specified index.</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_RenderFragmentCollection_FindByObject_C1_C1Preview_RenderObject_" data-uid="C1.C1Preview.RenderFragmentCollection.FindByObject(C1.C1Preview.RenderObject)">
          <a class="xref" href="C1.C1Preview.RenderFragmentCollection.FindByObject.html#C1_C1Preview_RenderFragmentCollection_FindByObject_C1_C1Preview_RenderObject_">FindByObject(RenderObject)</a>
        </td>
        <td class="markdown level1 summary"><p>Searches for a <a class="xref" href="C1.C1Preview.RenderFragment.html">RenderFragment</a> in the current collection
that was produced by a specific <a class="xref" href="C1.C1Preview.RenderObject.html">RenderObject</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderFragmentCollection_FindByObject_C1_C1Preview_RenderObject_System_Boolean_" data-uid="C1.C1Preview.RenderFragmentCollection.FindByObject(C1.C1Preview.RenderObject,System.Boolean)">
          <a class="xref" href="C1.C1Preview.RenderFragmentCollection.FindByObject.html#C1_C1Preview_RenderFragmentCollection_FindByObject_C1_C1Preview_RenderObject_System_Boolean_">FindByObject(RenderObject, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Searches for a <a class="xref" href="C1.C1Preview.RenderFragment.html">RenderFragment</a> in the current collection
that was produced by a specific <a class="xref" href="C1.C1Preview.RenderObject.html">RenderObject</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderFragmentCollection_FindByObjectId_System_Int32_" data-uid="C1.C1Preview.RenderFragmentCollection.FindByObjectId(System.Int32)">
          <a class="xref" href="C1.C1Preview.RenderFragmentCollection.FindByObjectId.html#C1_C1Preview_RenderFragmentCollection_FindByObjectId_System_Int32_">FindByObjectId(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Searches for a <a class="xref" href="C1.C1Preview.RenderFragment.html">RenderFragment</a> in the current collection
that was produced by a <a class="xref" href="C1.C1Preview.RenderObject.html">RenderObject</a> with the specified <span class="xref">C1.C1Preview.RenderObject.Id</span>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderFragmentCollection_FindByObjectName_System_String_" data-uid="C1.C1Preview.RenderFragmentCollection.FindByObjectName(System.String)">
          <a class="xref" href="C1.C1Preview.RenderFragmentCollection.FindByObjectName.html#C1_C1Preview_RenderFragmentCollection_FindByObjectName_System_String_">FindByObjectName(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Searches for a <a class="xref" href="C1.C1Preview.RenderFragment.html">RenderFragment</a> in the current collection
that was produced by a <a class="xref" href="C1.C1Preview.RenderObject.html">RenderObject</a> with the specified <a class="xref" href="C1.C1Preview.RenderObject.Name.html#C1_C1Preview_RenderObject_Name">Name</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderFragmentCollection_IndexOf_C1_C1Preview_RenderFragment_" data-uid="C1.C1Preview.RenderFragmentCollection.IndexOf(C1.C1Preview.RenderFragment)">
          <a class="xref" href="C1.C1Preview.RenderFragmentCollection.IndexOf.html#C1_C1Preview_RenderFragmentCollection_IndexOf_C1_C1Preview_RenderFragment_">IndexOf(RenderFragment)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of a <a class="xref" href="C1.C1Preview.RenderFragment.html">RenderFragment</a> in the current collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderFragmentCollection_Insert_System_Int32_C1_C1Preview_RenderFragment_" data-uid="C1.C1Preview.RenderFragmentCollection.Insert(System.Int32,C1.C1Preview.RenderFragment)">
          <a class="xref" href="C1.C1Preview.RenderFragmentCollection.Insert.html#C1_C1Preview_RenderFragmentCollection_Insert_System_Int32_C1_C1Preview_RenderFragment_">Insert(int, RenderFragment)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a <a class="xref" href="C1.C1Preview.RenderFragment.html">RenderFragment</a> into the current collection
at a specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderFragmentCollection_OnSet_System_Int32_System_Object_System_Object_" data-uid="C1.C1Preview.RenderFragmentCollection.OnSet(System.Int32,System.Object,System.Object)">
          <a class="xref" href="C1.C1Preview.RenderFragmentCollection.OnSet.html#C1_C1Preview_RenderFragmentCollection_OnSet_System_Int32_System_Object_System_Object_">OnSet(int, object, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when an element of the current collection is about to be set.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
