# C1.WPF.Grid.GridSelectedItemsCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Grid_GridSelectedItemsCollection" data-uid="C1.WPF.Grid.GridSelectedItemsCollection" class="text-break">GridSelectedItemsCollection Class
</h1>
  <div class="markdown level0 summary"><p>Collection of selected items of <a class="xref" href="C1.WPF.Grid.FlexGrid.html">FlexGrid</a>.</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">GridSelectedItemsCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1">IReadOnlyList</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1">IReadOnlyCollection</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>&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>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Grid.html">C1.WPF.Grid</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Grid.dll</h6>
  <h5 id="C1_WPF_Grid_GridSelectedItemsCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GridSelectedItemsCollection : IReadOnlyList&lt;object&gt;, IReadOnlyCollection&lt;object&gt;, IList&lt;object&gt;, ICollection&lt;object&gt;, IEnumerable&lt;object&gt;, IEnumerable, INotifyCollectionChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class GridSelectedItemsCollection
    Implements IReadOnlyList(Of Object), IReadOnlyCollection(Of Object), IList(Of Object), ICollection(Of Object), IEnumerable(Of Object), IEnumerable, INotifyCollectionChanged</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_WPF_Grid_GridSelectedItemsCollection_Count" data-uid="C1.WPF.Grid.GridSelectedItemsCollection.Count">
          <a class="xref" href="C1.WPF.Grid.GridSelectedItemsCollection.Count.html#C1_WPF_Grid_GridSelectedItemsCollection_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>The number of selected items.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridSelectedItemsCollection_IsReadOnly" data-uid="C1.WPF.Grid.GridSelectedItemsCollection.IsReadOnly">
          <a class="xref" href="C1.WPF.Grid.GridSelectedItemsCollection.IsReadOnly.html#C1_WPF_Grid_GridSelectedItemsCollection_IsReadOnly">IsReadOnly</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridSelectedItemsCollection_Item_System_Int32_" data-uid="C1.WPF.Grid.GridSelectedItemsCollection.Item(System.Int32)">
          <a class="xref" href="C1.WPF.Grid.GridSelectedItemsCollection.Item.html#C1_WPF_Grid_GridSelectedItemsCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>The selected item at the specified <code class="paramref">index</code>.</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_WPF_Grid_GridSelectedItemsCollection_Add_System_Object_" data-uid="C1.WPF.Grid.GridSelectedItemsCollection.Add(System.Object)">
          <a class="xref" href="C1.WPF.Grid.GridSelectedItemsCollection.Add.html#C1_WPF_Grid_GridSelectedItemsCollection_Add_System_Object_">Add(object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridSelectedItemsCollection_Clear" data-uid="C1.WPF.Grid.GridSelectedItemsCollection.Clear">
          <a class="xref" href="C1.WPF.Grid.GridSelectedItemsCollection.Clear.html#C1_WPF_Grid_GridSelectedItemsCollection_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridSelectedItemsCollection_Contains_System_Object_" data-uid="C1.WPF.Grid.GridSelectedItemsCollection.Contains(System.Object)">
          <a class="xref" href="C1.WPF.Grid.GridSelectedItemsCollection.Contains.html#C1_WPF_Grid_GridSelectedItemsCollection_Contains_System_Object_">Contains(object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridSelectedItemsCollection_CopyTo_System_Object___System_Int32_" data-uid="C1.WPF.Grid.GridSelectedItemsCollection.CopyTo(System.Object[],System.Int32)">
          <a class="xref" href="C1.WPF.Grid.GridSelectedItemsCollection.CopyTo.html#C1_WPF_Grid_GridSelectedItemsCollection_CopyTo_System_Object___System_Int32_">CopyTo(object[], int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridSelectedItemsCollection_GetEnumerator" data-uid="C1.WPF.Grid.GridSelectedItemsCollection.GetEnumerator">
          <a class="xref" href="C1.WPF.Grid.GridSelectedItemsCollection.GetEnumerator.html#C1_WPF_Grid_GridSelectedItemsCollection_GetEnumerator">GetEnumerator()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridSelectedItemsCollection_IndexOf_System_Object_" data-uid="C1.WPF.Grid.GridSelectedItemsCollection.IndexOf(System.Object)">
          <a class="xref" href="C1.WPF.Grid.GridSelectedItemsCollection.IndexOf.html#C1_WPF_Grid_GridSelectedItemsCollection_IndexOf_System_Object_">IndexOf(object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridSelectedItemsCollection_Insert_System_Int32_System_Object_" data-uid="C1.WPF.Grid.GridSelectedItemsCollection.Insert(System.Int32,System.Object)">
          <a class="xref" href="C1.WPF.Grid.GridSelectedItemsCollection.Insert.html#C1_WPF_Grid_GridSelectedItemsCollection_Insert_System_Int32_System_Object_">Insert(int, object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridSelectedItemsCollection_Remove_System_Object_" data-uid="C1.WPF.Grid.GridSelectedItemsCollection.Remove(System.Object)">
          <a class="xref" href="C1.WPF.Grid.GridSelectedItemsCollection.Remove.html#C1_WPF_Grid_GridSelectedItemsCollection_Remove_System_Object_">Remove(object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridSelectedItemsCollection_RemoveAt_System_Int32_" data-uid="C1.WPF.Grid.GridSelectedItemsCollection.RemoveAt(System.Int32)">
          <a class="xref" href="C1.WPF.Grid.GridSelectedItemsCollection.RemoveAt.html#C1_WPF_Grid_GridSelectedItemsCollection_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"></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_WPF_Grid_GridSelectedItemsCollection_CollectionChanged" data-uid="C1.WPF.Grid.GridSelectedItemsCollection.CollectionChanged">
          <a class="xref" href="C1.WPF.Grid.GridSelectedItemsCollection.CollectionChanged.html">CollectionChanged</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
