# C1.Win.List.ListBase.C1ListBase.ClearCellStyle

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_List_ListBase_C1ListBase_ClearCellStyle_" data-uid="C1.Win.List.ListBase.C1ListBase.ClearCellStyle*">ClearCellStyle Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_List_ListBase_C1ListBase_ClearCellStyle_" data-uid="C1.Win.List.ListBase.C1ListBase.ClearCellStyle*"></a>
<h4 id="C1_Win_List_ListBase_C1ListBase_ClearCellStyle_C1_Win_List_CellStyleFlag_" data-uid="C1.Win.List.ListBase.C1ListBase.ClearCellStyle(C1.Win.List.CellStyleFlag)">ClearCellStyle(CellStyleFlag)</h4>
<div class="markdown level1 summary"><p>Removes a cell condition established with a previous call to the <a class="xref" href="C1.Win.List.ListBase.C1ListBase.AddCellStyle.html#C1_Win_List_ListBase_C1ListBase_AddCellStyle_C1_Win_List_CellStyleFlag_C1_Win_List_Style_">AddCellStyle(CellStyleFlag, Style)</a> method.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void ClearCellStyle(CellStyleFlag condition)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub ClearCellStyle(condition As CellStyleFlag)</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></td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Win_List_ListBase_C1ListBase_ClearCellStyle_C1_Win_List_CellStyleFlag__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>
The ClearCellStyle method removes a cell condition established with a previous call to the 
<a class="xref" href="C1.Win.List.ListBase.C1ListBase.AddCellStyle.html#C1_Win_List_ListBase_C1ListBase_AddCellStyle_C1_Win_List_CellStyleFlag_C1_Win_List_Style_">AddCellStyle(CellStyleFlag, Style)</a> method for the object in question. If no such cell condition exists, 
then calling this method has no effect. 
</p>
<p>
If the condition argument is CellStyleFlag.AllCells, then all non-regex cell conditions are removed, regardless of status.
</p>
</div>
</div>
