# GrapeCity.Spreadsheet.IColorScaleCriterion

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_IColorScaleCriterion" data-uid="GrapeCity.Spreadsheet.IColorScaleCriterion" class="text-break">IColorScaleCriterion Interface
</h1>
  <div class="markdown level0 summary"><p>Represents the criteria for the minimum, midpoint, or maximum thresholds for a color format conditional format.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Spreadsheet.html">GrapeCity.Spreadsheet</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_Spreadsheet_IColorScaleCriterion_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IColorScaleCriterion</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IColorScaleCriterion</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="GrapeCity_Spreadsheet_IColorScaleCriterion_FormatColor" data-uid="GrapeCity.Spreadsheet.IColorScaleCriterion.FormatColor">
          <a class="xref" href="GrapeCity.Spreadsheet.IColorScaleCriterion.FormatColor.html#GrapeCity_Spreadsheet_IColorScaleCriterion_FormatColor">FormatColor</a>
        </td>
        <td class="markdown level1 summary"><p>Represents the fill color specified for a threshold of a color scale conditional format or the color of the bar in a data bar conditional format.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IColorScaleCriterion_Index" data-uid="GrapeCity.Spreadsheet.IColorScaleCriterion.Index">
          <a class="xref" href="GrapeCity.Spreadsheet.IColorScaleCriterion.Index.html#GrapeCity_Spreadsheet_IColorScaleCriterion_Index">Index</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of this criterion</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IColorScaleCriterion_Type" data-uid="GrapeCity.Spreadsheet.IColorScaleCriterion.Type">
          <a class="xref" href="GrapeCity.Spreadsheet.IColorScaleCriterion.Type.html#GrapeCity_Spreadsheet_IColorScaleCriterion_Type">Type</a>
        </td>
        <td class="markdown level1 summary"><p>Gets one of the constants of the <a class="xref" href="GrapeCity.Spreadsheet.CfValueType.html">CfValueType</a> enumeration, which specifies how the threshold values for a data bar or color scale conditional format are determined. Read-only.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IColorScaleCriterion_Value" data-uid="GrapeCity.Spreadsheet.IColorScaleCriterion.Value">
          <a class="xref" href="GrapeCity.Spreadsheet.IColorScaleCriterion.Value.html#GrapeCity_Spreadsheet_IColorScaleCriterion_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the minimum, midpoint, or maximum threshold value for a color scale conditional format.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
