# C1.Win.List.Split.AddCellStyle

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_List_Split_AddCellStyle_" data-uid="C1.Win.List.Split.AddCellStyle*">AddCellStyle Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_List_Split_AddCellStyle_" data-uid="C1.Win.List.Split.AddCellStyle*"></a>
<h4 id="C1_Win_List_Split_AddCellStyle_C1_Win_List_CellStyleFlag_C1_Win_List_Style_" data-uid="C1.Win.List.Split.AddCellStyle(C1.Win.List.CellStyleFlag,C1.Win.List.Style)">AddCellStyle(CellStyleFlag, Style)</h4>
<div class="markdown level1 summary"><p>Controls the <a class="xref" href="C1.Win.List.Split.Style.html#C1_Win_List_Split_Style">Style</a> used to change the appearance for cells meeting the specified condition.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void AddCellStyle(CellStyleFlag condition, Style style)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub AddCellStyle(condition As CellStyleFlag, style As Style)</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.Win.List.CellStyleFlag.html">CellStyleFlag</a></td>
      <td><span class="parametername">condition</span></td>
      <td><p>Combination of one or more <a class="xref" href="C1.Win.List.CellStyleFlag.html">CellStyleFlag</a> enumerations.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Win.List.Style.html">Style</a></td>
      <td><span class="parametername">style</span></td>
      <td><p><a class="xref" href="C1.Win.List.Split.Style.html#C1_Win_List_Split_Style">Style</a> object that specifies appearance attributes.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
