# C1.C1Excel.XLConditionalFormattingCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Excel_XLConditionalFormattingCollection" data-uid="C1.C1Excel.XLConditionalFormattingCollection" class="text-break">XLConditionalFormattingCollection Class
</h1>
  <div class="markdown level0 summary"><p>The collection of conditional formatting ranges.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.collection-1">Collection</a>&lt;<a class="xref" href="C1.C1Excel.XLConditionalFormatting.html">XLConditionalFormatting</a>&gt;</div>
    <div class="level2"><span class="xref">XLConditionalFormattingCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<a class="xref" href="C1.C1Excel.XLConditionalFormatting.html">XLConditionalFormatting</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;<a class="xref" href="C1.C1Excel.XLConditionalFormatting.html">XLConditionalFormatting</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1">IReadOnlyList</a>&lt;<a class="xref" href="C1.C1Excel.XLConditionalFormatting.html">XLConditionalFormatting</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1">IReadOnlyCollection</a>&lt;<a class="xref" href="C1.C1Excel.XLConditionalFormatting.html">XLConditionalFormatting</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="C1.C1Excel.XLConditionalFormatting.html">XLConditionalFormatting</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Excel.html">C1.C1Excel</a></h6>
  <h6><strong>Assembly</strong>: C1.C1Excel.4.8.dll</h6>
  <h5 id="C1_C1Excel_XLConditionalFormattingCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class XLConditionalFormattingCollection : Collection&lt;XLConditionalFormatting&gt;, IList&lt;XLConditionalFormatting&gt;, ICollection&lt;XLConditionalFormatting&gt;, IList, ICollection, IReadOnlyList&lt;XLConditionalFormatting&gt;, IReadOnlyCollection&lt;XLConditionalFormatting&gt;, IEnumerable&lt;XLConditionalFormatting&gt;, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class XLConditionalFormattingCollection
    Inherits Collection(Of XLConditionalFormatting)
    Implements IList(Of XLConditionalFormatting), ICollection(Of XLConditionalFormatting), IList, ICollection, IReadOnlyList(Of XLConditionalFormatting), IReadOnlyCollection(Of XLConditionalFormatting), IEnumerable(Of XLConditionalFormatting), IEnumerable</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_C1Excel_XLConditionalFormattingCollection_Sheet" data-uid="C1.C1Excel.XLConditionalFormattingCollection.Sheet">
          <a class="xref" href="C1.C1Excel.XLConditionalFormattingCollection.Sheet.html#C1_C1Excel_XLConditionalFormattingCollection_Sheet">Sheet</a>
        </td>
        <td class="markdown level1 summary"><p>Gets conditional formatting object.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
