# FarPoint.Win.Spread.ConditionalFormatting.Clear

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_ConditionalFormatting_Clear_" data-uid="FarPoint.Win.Spread.ConditionalFormatting.Clear*">Clear Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_ConditionalFormatting_Clear_" data-uid="FarPoint.Win.Spread.ConditionalFormatting.Clear*"></a>
<h4 id="FarPoint_Win_Spread_ConditionalFormatting_Clear" data-uid="FarPoint.Win.Spread.ConditionalFormatting.Clear">Clear()</h4>
<div class="markdown level1 summary"><p>Removes all items from the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection&lt;T&gt;</a> object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Clear()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Clear()</code></pre>
</div>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1.clear">ICollection&lt;T&gt;.Clear()</a></div>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notsupportedexception">NotSupportedException</a></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection&lt;T&gt;</a> object is read-only.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
