# C1.Blazor.Grid.GridLinkedCellFactory.PrepareCellStyle

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Blazor_Grid_GridLinkedCellFactory_PrepareCellStyle_" data-uid="C1.Blazor.Grid.GridLinkedCellFactory.PrepareCellStyle*">PrepareCellStyle Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Blazor_Grid_GridLinkedCellFactory_PrepareCellStyle_" data-uid="C1.Blazor.Grid.GridLinkedCellFactory.PrepareCellStyle*"></a>
<h4 id="C1_Blazor_Grid_GridLinkedCellFactory_PrepareCellStyle_C1_Blazor_Grid_GridCellType_C1_Blazor_Grid_GridCellRange_C1_Blazor_Core_C1Style_C1_Blazor_Core_C1Thickness_" data-uid="C1.Blazor.Grid.GridLinkedCellFactory.PrepareCellStyle(C1.Blazor.Grid.GridCellType,C1.Blazor.Grid.GridCellRange,C1.Blazor.Core.C1Style,C1.Blazor.Core.C1Thickness)">PrepareCellStyle(GridCellType, GridCellRange, C1Style, C1Thickness)</h4>
<div class="markdown level1 summary"><p>Prepares the specified <code class="paramref">style</code> for displaying the cell in the specified <code class="paramref">range</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override void PrepareCellStyle(GridCellType cellType, GridCellRange range, C1Style style, C1Thickness internalBorders)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overrides Sub PrepareCellStyle(cellType As GridCellType, range As GridCellRange, style As C1Style, internalBorders As C1Thickness)</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.Blazor.Grid.GridCellType.html">GridCellType</a></td>
      <td><span class="parametername">cellType</span></td>
      <td><p>Cell's type.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Blazor.Grid.GridCellRange.html">GridCellRange</a></td>
      <td><span class="parametername">range</span></td>
      <td><p>Cell's range.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../C1.Blazor.Core/C1.Blazor.Core.C1Style.html">C1Style</a></td>
      <td><span class="parametername">style</span></td>
      <td><p>The style that will be applied to the cell's div.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../C1.Blazor.Core/C1.Blazor.Core.C1Thickness.html">C1Thickness</a></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>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="C1.Blazor.Grid.GridCellFactory.PrepareCellStyle.html#C1_Blazor_Grid_GridCellFactory_PrepareCellStyle_C1_Blazor_Grid_GridCellType_C1_Blazor_Grid_GridCellRange_C1_Blazor_Core_C1Style_C1_Blazor_Core_C1Thickness_">GridCellFactory.PrepareCellStyle(GridCellType, GridCellRange, C1Style, C1Thickness)</a></div>
</div>
