# C1.iOS.Grid.GridColumn.PrepareCell

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_iOS_Grid_GridColumn_PrepareCell_" data-uid="C1.iOS.Grid.GridColumn.PrepareCell*">PrepareCell Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_iOS_Grid_GridColumn_PrepareCell_" data-uid="C1.iOS.Grid.GridColumn.PrepareCell*"></a>
<h4 id="C1_iOS_Grid_GridColumn_PrepareCell_C1_iOS_Grid_GridCellType_C1_iOS_Grid_GridRow_C1_iOS_Grid_GridCellView_UIKit_UIEdgeInsets_" data-uid="C1.iOS.Grid.GridColumn.PrepareCell(C1.iOS.Grid.GridCellType,C1.iOS.Grid.GridRow,C1.iOS.Grid.GridCellView,UIKit.UIEdgeInsets)">PrepareCell(GridCellType, GridRow, GridCellView, UIEdgeInsets)</h4>
<div class="markdown level1 summary"><p>Prepares the cell to be shown.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual void PrepareCell(GridCellType cellType, GridRow row, GridCellView cell, UIEdgeInsets internalBorders)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Sub PrepareCell(cellType As GridCellType, row As GridRow, cell As GridCellView, internalBorders As UIEdgeInsets)</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><a class="xref" href="C1.iOS.Grid.GridCellType.html">GridCellType</a></td>
      <td><span class="parametername">cellType</span></td>
      <td><p>The kind of cell.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.iOS.Grid.GridRow.html">GridRow</a></td>
      <td><span class="parametername">row</span></td>
      <td><p>The row that determines the cell.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.iOS.Grid.GridCellView.html">GridCellView</a></td>
      <td><span class="parametername">cell</span></td>
      <td><p>The cell element.</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">UIEdgeInsets</span></td>
      <td><span class="parametername">internalBorders</span></td>
      <td><p>A thickness object containing zeros or ones to represent whether the borders of the cell are internal 1 or external 0.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
