# C1.Framework.ElementList

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Framework_ElementList" data-uid="C1.Framework.ElementList" class="text-break">ElementList Class
</h1>
  <div class="markdown level0 summary"><p>Contains a list of Elements that belong to a parent element.</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.arraylist">ArrayList</a></div>
    <div class="level2"><span class="xref">ElementList</span></div>
      <div class="level3"><a class="xref" href="C1.Framework.GridColumnCollection.html">GridColumnCollection</a></div>
      <div class="level3"><a class="xref" href="C1.Framework.GridRowCollection.html">GridRowCollection</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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Framework.html">C1.Framework</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.10.dll</h6>
  <h5 id="C1_Framework_ElementList_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ElementList : ArrayList, IList, ICollection, IEnumerable, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ElementList
    Inherits ArrayList
    Implements IList, ICollection, IEnumerable, ICloneable</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_Framework_ElementList__ctor_C1_Framework_Element_" data-uid="C1.Framework.ElementList.#ctor(C1.Framework.Element)">
          <a class="xref" href="C1.Framework.ElementList.-ctor.html#C1_Framework_ElementList__ctor_C1_Framework_Element_">ElementList(Element)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.ElementList.html">ElementList</a> class for the specified owning element.</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_Framework_ElementList_Item_System_Int32_" data-uid="C1.Framework.ElementList.Item(System.Int32)">
          <a class="xref" href="C1.Framework.ElementList.Item.html#C1_Framework_ElementList_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.Framework.Element.html">Element</a> at a specified index in the list.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ElementList_Last" data-uid="C1.Framework.ElementList.Last">
          <a class="xref" href="C1.Framework.ElementList.Last.html#C1_Framework_ElementList_Last">Last</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the last <a class="xref" href="C1.Framework.Element.html">Element</a> on the list.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ElementList_Owner" data-uid="C1.Framework.ElementList.Owner">
          <a class="xref" href="C1.Framework.ElementList.Owner.html#C1_Framework_ElementList_Owner">Owner</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a reference to the <a class="xref" href="C1.Framework.Element.html">Element</a> that owns this <a class="xref" href="C1.Framework.ElementList.html">ElementList</a>.</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_Framework_ElementList_Add_System_Object_" data-uid="C1.Framework.ElementList.Add(System.Object)">
          <a class="xref" href="C1.Framework.ElementList.Add.html#C1_Framework_ElementList_Add_System_Object_">Add(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an <a class="xref" href="C1.Framework.Element.html">Element</a> to the list.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ElementList_Clear" data-uid="C1.Framework.ElementList.Clear">
          <a class="xref" href="C1.Framework.ElementList.Clear.html#C1_Framework_ElementList_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all elements from the list.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ElementList_Insert_System_Int32_System_Object_" data-uid="C1.Framework.ElementList.Insert(System.Int32,System.Object)">
          <a class="xref" href="C1.Framework.ElementList.Insert.html#C1_Framework_ElementList_Insert_System_Int32_System_Object_">Insert(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts an <a class="xref" href="C1.Framework.Element.html">Element</a> at a specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ElementList_InsertRange_System_Int32_System_Collections_ICollection_" data-uid="C1.Framework.ElementList.InsertRange(System.Int32,System.Collections.ICollection)">
          <a class="xref" href="C1.Framework.ElementList.InsertRange.html#C1_Framework_ElementList_InsertRange_System_Int32_System_Collections_ICollection_">InsertRange(int, ICollection)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts the elements of a collection into the list at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ElementList_Offset_System_Int32_System_Int32_" data-uid="C1.Framework.ElementList.Offset(System.Int32,System.Int32)">
          <a class="xref" href="C1.Framework.ElementList.Offset.html#C1_Framework_ElementList_Offset_System_Int32_System_Int32_">Offset(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Adjusts the location of all <a class="xref" href="C1.Framework.Element.html">Element</a> objects in the list by the specified amount.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ElementList_Offset_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="C1.Framework.ElementList.Offset(System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="C1.Framework.ElementList.Offset.html#C1_Framework_ElementList_Offset_System_Int32_System_Int32_System_Int32_System_Int32_">Offset(int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Adjusts the location of some <a class="xref" href="C1.Framework.Element.html">Element</a> objects in the list by the specified amount.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ElementList_OnListChanged" data-uid="C1.Framework.ElementList.OnListChanged">
          <a class="xref" href="C1.Framework.ElementList.OnListChanged.html#C1_Framework_ElementList_OnListChanged">OnListChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when elements are added or removed from the list.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ElementList_RemoveAt_System_Int32_" data-uid="C1.Framework.ElementList.RemoveAt(System.Int32)">
          <a class="xref" href="C1.Framework.ElementList.RemoveAt.html#C1_Framework_ElementList_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the <a class="xref" href="C1.Framework.Element.html">Element</a> at the specified index from the list.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ElementList_RemoveRange_System_Int32_System_Int32_" data-uid="C1.Framework.ElementList.RemoveRange(System.Int32,System.Int32)">
          <a class="xref" href="C1.Framework.ElementList.RemoveRange.html#C1_Framework_ElementList_RemoveRange_System_Int32_System_Int32_">RemoveRange(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a range of elements from the list.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ElementList_Reverse" data-uid="C1.Framework.ElementList.Reverse">
          <a class="xref" href="C1.Framework.ElementList.Reverse.html#C1_Framework_ElementList_Reverse">Reverse()</a>
        </td>
        <td class="markdown level1 summary"><p>Reverses the order of the elements in the list or a portion of it.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ElementList_Reverse_System_Int32_System_Int32_" data-uid="C1.Framework.ElementList.Reverse(System.Int32,System.Int32)">
          <a class="xref" href="C1.Framework.ElementList.Reverse.html#C1_Framework_ElementList_Reverse_System_Int32_System_Int32_">Reverse(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Reverses the order of the elements in the list or a portion of it.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
