# C1.iOS.DataCollection.C1CollectionViewSource-1.GetCell

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_iOS_DataCollection_C1CollectionViewSource_1_GetCell_" data-uid="C1.iOS.DataCollection.C1CollectionViewSource`1.GetCell*">GetCell Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_iOS_DataCollection_C1CollectionViewSource_1_GetCell_" data-uid="C1.iOS.DataCollection.C1CollectionViewSource`1.GetCell*"></a>
<h4 id="C1_iOS_DataCollection_C1CollectionViewSource_1_GetCell_UIKit_UICollectionView_Foundation_NSIndexPath_" data-uid="C1.iOS.DataCollection.C1CollectionViewSource`1.GetCell(UIKit.UICollectionView,Foundation.NSIndexPath)">GetCell(UICollectionView, NSIndexPath)</h4>
<div class="markdown level1 summary"><p>Called by the table view to get populate the row at indexPath with a cell view.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override sealed UICollectionViewCell GetCell(UICollectionView collectionView, NSIndexPath indexPath)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public NotOverridable Overrides Function GetCell(collectionView As UICollectionView, indexPath As NSIndexPath) As UICollectionViewCell</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="xref">UICollectionView</span></td>
      <td><span class="parametername">collectionView</span></td>
      <td><p>Table view requesting the cell.</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">NSIndexPath</span></td>
      <td><span class="parametername">indexPath</span></td>
      <td><p>Location of the row where the cell will be displayed.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="xref">UICollectionViewCell</span></td>
      <td><p>An object that inherits from UIKit.UITableViewCell that the table can use for
the specified row. Do not return null or an assertion will be raised.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
