# C1.Xamarin.Forms.Grid.GridRowColCollection-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Xamarin_Forms_Grid_GridRowColCollection_1" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1" class="text-break">GridRowColCollection&lt;T&gt; Class
</h1>
  <div class="markdown level0 summary"><p>Base collection class for columns and rows.</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"><span class="xref">GridRowColCollection&lt;T&gt;</span></div>
      <div class="level2"><a class="xref" href="C1.Xamarin.Forms.Grid.GridColumnCollection.html">GridColumnCollection</a></div>
      <div class="level2"><a class="xref" href="C1.Xamarin.Forms.Grid.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.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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Xamarin.Forms.Grid.html">C1.Xamarin.Forms.Grid</a></h6>
  <h6><strong>Assembly</strong>: C1.Xamarin.Forms.Grid.dll</h6>
  <h5 id="C1_Xamarin_Forms_Grid_GridRowColCollection_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class GridRowColCollection&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, INotifyPropertyChanged where T : GridRowCol</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></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="C1_Xamarin_Forms_Grid_GridRowColCollection_1__ctor" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.#ctor">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.-ctor.html#C1_Xamarin_Forms_Grid_GridRowColCollection_1__ctor">GridRowColCollection()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.html">GridRowColCollection&lt;T&gt;</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_Xamarin_Forms_Grid_GridRowColCollection_1_Count" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.Count">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.Count.html#C1_Xamarin_Forms_Grid_GridRowColCollection_1_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of elements contained in the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridRowColCollection_1_DefaultSize" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.DefaultSize">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.DefaultSize.html#C1_Xamarin_Forms_Grid_GridRowColCollection_1_DefaultSize">DefaultSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the default size for the items in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridRowColCollection_1_IsFixedSize" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.IsFixedSize">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.IsFixedSize.html#C1_Xamarin_Forms_Grid_GridRowColCollection_1_IsFixedSize">IsFixedSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the collection size can change.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridRowColCollection_1_IsReadOnly" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.IsReadOnly">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.IsReadOnly.html#C1_Xamarin_Forms_Grid_GridRowColCollection_1_IsReadOnly">IsReadOnly</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection&lt;T&gt;</a> is read-only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridRowColCollection_1_IsSynchronized" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.IsSynchronized">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.IsSynchronized.html#C1_Xamarin_Forms_Grid_GridRowColCollection_1_IsSynchronized">IsSynchronized</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether access to the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a> is synchronized (thread safe).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridRowColCollection_1_Item_System_Int32_" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.Item(System.Int32)">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.Item.html#C1_Xamarin_Forms_Grid_GridRowColCollection_1_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>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridRowColCollection_1_MaxSize" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.MaxSize">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.MaxSize.html#C1_Xamarin_Forms_Grid_GridRowColCollection_1_MaxSize">MaxSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum size for the items in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridRowColCollection_1_MinSize" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.MinSize">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.MinSize.html#C1_Xamarin_Forms_Grid_GridRowColCollection_1_MinSize">MinSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the minimum size for the items in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridRowColCollection_1_SyncRoot" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.SyncRoot">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.SyncRoot.html#C1_Xamarin_Forms_Grid_GridRowColCollection_1_SyncRoot">SyncRoot</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an object that can be used to synchronize access to the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</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_Xamarin_Forms_Grid_GridRowColCollection_1_Add__0_" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.Add(`0)">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.Add.html#C1_Xamarin_Forms_Grid_GridRowColCollection_1_Add__0_">Add(T)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an item to the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection&lt;T&gt;</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridRowColCollection_1_Clear" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.Clear">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.Clear.html#C1_Xamarin_Forms_Grid_GridRowColCollection_1_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all items from the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection&lt;T&gt;</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridRowColCollection_1_Contains_System_Object_" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.Contains(System.Object)">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.Contains.html#C1_Xamarin_Forms_Grid_GridRowColCollection_1_Contains_System_Object_">Contains(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a> contains a specific value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridRowColCollection_1_Contains__0_" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.Contains(`0)">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.Contains.html#C1_Xamarin_Forms_Grid_GridRowColCollection_1_Contains__0_">Contains(T)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection&lt;T&gt;</a> contains a specific value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridRowColCollection_1_CopyTo_System_Array_System_Int32_" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.CopyTo(System.Array,System.Int32)">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.CopyTo.html#C1_Xamarin_Forms_Grid_GridRowColCollection_1_CopyTo_System_Array_System_Int32_">CopyTo(Array, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the elements of the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a> to an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.array">Array</a>, starting at a particular <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.array">Array</a> index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridRowColCollection_1_CopyTo__0___System_Int32_" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.CopyTo(`0[],System.Int32)">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.CopyTo.html#C1_Xamarin_Forms_Grid_GridRowColCollection_1_CopyTo__0___System_Int32_">CopyTo(T[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the elements of the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection&lt;T&gt;</a> to an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.array">Array</a>, starting at a particular <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.array">Array</a> index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridRowColCollection_1_DisableAnimations" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.DisableAnimations">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.DisableAnimations.html#C1_Xamarin_Forms_Grid_GridRowColCollection_1_DisableAnimations">DisableAnimations()</a>
        </td>
        <td class="markdown level1 summary"><p>Disable the animations caused by the operations that are performed inside the using block of the returned IDisposable.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridRowColCollection_1_GetEnumerator" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.GetEnumerator">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.GetEnumerator.html#C1_Xamarin_Forms_Grid_GridRowColCollection_1_GetEnumerator">GetEnumerator()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns an enumerator that iterates through a collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridRowColCollection_1_IndexOf_System_Object_" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.IndexOf(System.Object)">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.IndexOf.html#C1_Xamarin_Forms_Grid_GridRowColCollection_1_IndexOf_System_Object_">IndexOf(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines the index of a specific item in the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridRowColCollection_1_IndexOf__0_" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.IndexOf(`0)">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.IndexOf.html#C1_Xamarin_Forms_Grid_GridRowColCollection_1_IndexOf__0_">IndexOf(T)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines the index of a specific item in the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList&lt;T&gt;</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridRowColCollection_1_Insert_System_Int32_System_Object_" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.Insert(System.Int32,System.Object)">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.Insert.html#C1_Xamarin_Forms_Grid_GridRowColCollection_1_Insert_System_Int32_System_Object_">Insert(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts an item to the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a> at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridRowColCollection_1_Insert_System_Int32__0_" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.Insert(System.Int32,`0)">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.Insert.html#C1_Xamarin_Forms_Grid_GridRowColCollection_1_Insert_System_Int32__0_">Insert(int, T)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts an item to the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList&lt;T&gt;</a> at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridRowColCollection_1_Move_System_Int32_System_Int32_" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.Move(System.Int32,System.Int32)">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.Move.html#C1_Xamarin_Forms_Grid_GridRowColCollection_1_Move_System_Int32_System_Int32_">Move(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Moves the item at the <code class="paramref">from</code> position to <code class="paramref">to</code>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridRowColCollection_1_OnCollectionChanged_System_Collections_Specialized_NotifyCollectionChangedEventArgs_" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.OnCollectionChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs)">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.OnCollectionChanged.html#C1_Xamarin_Forms_Grid_GridRowColCollection_1_OnCollectionChanged_System_Collections_Specialized_NotifyCollectionChangedEventArgs_">OnCollectionChanged(NotifyCollectionChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <span class="xref">CollectionChanged</span> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridRowColCollection_1_OnPropertyChanged_System_String_" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.OnPropertyChanged(System.String)">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.OnPropertyChanged.html#C1_Xamarin_Forms_Grid_GridRowColCollection_1_OnPropertyChanged_System_String_">OnPropertyChanged(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when a property changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridRowColCollection_1_Remove_System_Object_" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.Remove(System.Object)">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.Remove.html#C1_Xamarin_Forms_Grid_GridRowColCollection_1_Remove_System_Object_">Remove(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the first occurrence of a specific object from the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridRowColCollection_1_Remove__0_" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.Remove(`0)">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.Remove.html#C1_Xamarin_Forms_Grid_GridRowColCollection_1_Remove__0_">Remove(T)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the first occurrence of a specific object from the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection&lt;T&gt;</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridRowColCollection_1_RemoveAt_System_Int32_" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.RemoveAt(System.Int32)">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.RemoveAt.html#C1_Xamarin_Forms_Grid_GridRowColCollection_1_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList&lt;T&gt;</a> item 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="C1_Xamarin_Forms_Grid_GridRowColCollection_1_CollectionChanged" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.CollectionChanged">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.CollectionChanged.html">CollectionChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs after the items in the collection changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridRowColCollection_1_PropertyChanged" data-uid="C1.Xamarin.Forms.Grid.GridRowColCollection`1.PropertyChanged">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridRowColCollection-1.PropertyChanged.html">PropertyChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Called when a property changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
