# C1.Blazor.Grid.GridGroupRow.PrepareCellStyle

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Blazor_Grid_GridGroupRow_PrepareCellStyle_" data-uid="C1.Blazor.Grid.GridGroupRow.PrepareCellStyle*">PrepareCellStyle Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Blazor_Grid_GridGroupRow_PrepareCellStyle_" data-uid="C1.Blazor.Grid.GridGroupRow.PrepareCellStyle*"></a>
<h4 id="C1_Blazor_Grid_GridGroupRow_PrepareCellStyle_C1_Blazor_Grid_GridCellType_C1_Blazor_Grid_GridColumn_C1_Blazor_Core_C1Style_C1_Blazor_Core_C1Thickness_" data-uid="C1.Blazor.Grid.GridGroupRow.PrepareCellStyle(C1.Blazor.Grid.GridCellType,C1.Blazor.Grid.GridColumn,C1.Blazor.Core.C1Style,C1.Blazor.Core.C1Thickness)">PrepareCellStyle(GridCellType, GridColumn, C1Style, C1Thickness)</h4>
<div class="markdown level1 summary"><p>Gets the style that will be applied to the cell.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected override void PrepareCellStyle(GridCellType cellType, GridColumn column, C1Style style, C1Thickness internalBorders)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overrides Sub PrepareCellStyle(cellType As GridCellType, column As GridColumn, 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>The kind of cell.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Blazor.Grid.GridColumn.html">GridColumn</a></td>
      <td><span class="parametername">column</span></td>
      <td><p>The column whose intersection with this row determines the cell.</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.</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></td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="C1.Blazor.Grid.GridRow.PrepareCellStyle.html#C1_Blazor_Grid_GridRow_PrepareCellStyle_C1_Blazor_Grid_GridCellType_C1_Blazor_Grid_GridColumn_C1_Blazor_Core_C1Style_C1_Blazor_Core_C1Thickness_">GridRow.PrepareCellStyle(GridCellType, GridColumn, C1Style, C1Thickness)</a></div>
</div>
