# FarPoint.Web.Spread.ThreeColorScaleConditionalFormattingRule

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_ThreeColorScaleConditionalFormattingRule" data-uid="FarPoint.Web.Spread.ThreeColorScaleConditionalFormattingRule" class="text-break">ThreeColorScaleConditionalFormattingRule Class
</h1>
  <div class="markdown level0 summary"><p>Represents the color scale conditional formatting rule with one middle value.</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="FarPoint.Web.Spread.ConditionalFormattingRule.html">ConditionalFormattingRule</a></div>
    <div class="level2"><a class="xref" href="FarPoint.Web.Spread.PrePaintConditionalFormattingRule.html">PrePaintConditionalFormattingRule</a></div>
    <div class="level3"><a class="xref" href="FarPoint.Web.Spread.TwoColorScaleConditionalFormattingRule.html">TwoColorScaleConditionalFormattingRule</a></div>
    <div class="level4"><span class="xref">MultiColorScaleConditionalFormattingRule</span></div>
    <div class="level5"><span class="xref">ThreeColorScaleConditionalFormattingRule</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="FarPoint.Web.Spread.Model.ICanSerializeXml.html">ICanSerializeXml</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.Model.ISerializeSupport.html">ISerializeSupport</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.IPrePaintConditionalFormattingRule.html">IPrePaintConditionalFormattingRule</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.IExcelExporter.html">IExcelExporter</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.IConditionalFormattingDataRule.html">IConditionalFormattingDataRule</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.Model.IExpressionConsumer.html">IExpressionConsumer</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.IFilterSupportConditionalFormattingRule.html">IFilterSupportConditionalFormattingRule</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.IConditionalFormattingRule.html">IConditionalFormattingRule</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Web.Spread.html">FarPoint.Web.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Web.Spread.dll</h6>
  <h5 id="FarPoint_Web_Spread_ThreeColorScaleConditionalFormattingRule_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ThreeColorScaleConditionalFormattingRule : MultiColorScaleConditionalFormattingRule, ICanSerializeXml, ISerializeSupport, ISerializable, IPrePaintConditionalFormattingRule, IExcelExporter, IConditionalFormattingDataRule, IExpressionConsumer, IFilterSupportConditionalFormattingRule, IConditionalFormattingRule, INotifyPropertyChanged, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ThreeColorScaleConditionalFormattingRule
    Inherits MultiColorScaleConditionalFormattingRule
    Implements ICanSerializeXml, ISerializeSupport, ISerializable, IPrePaintConditionalFormattingRule, IExcelExporter, IConditionalFormattingDataRule, IExpressionConsumer, IFilterSupportConditionalFormattingRule, IConditionalFormattingRule, INotifyPropertyChanged, ICloneable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Web_Spread_ThreeColorScaleConditionalFormattingRule__ctor" data-uid="FarPoint.Web.Spread.ThreeColorScaleConditionalFormattingRule.#ctor">
          <a class="xref" href="FarPoint.Web.Spread.ThreeColorScaleConditionalFormattingRule.-ctor.html#FarPoint_Web_Spread_ThreeColorScaleConditionalFormattingRule__ctor">ThreeColorScaleConditionalFormattingRule()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Web.Spread.ThreeColorScaleConditionalFormattingRule.html">ThreeColorScaleConditionalFormattingRule</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_ThreeColorScaleConditionalFormattingRule__ctor_FarPoint_Web_Spread_ConditionalFormattingColorValue_FarPoint_Web_Spread_ConditionalFormattingColorValue_FarPoint_Web_Spread_ConditionalFormattingColorValue_" data-uid="FarPoint.Web.Spread.ThreeColorScaleConditionalFormattingRule.#ctor(FarPoint.Web.Spread.ConditionalFormattingColorValue,FarPoint.Web.Spread.ConditionalFormattingColorValue,FarPoint.Web.Spread.ConditionalFormattingColorValue)">
          <a class="xref" href="FarPoint.Web.Spread.ThreeColorScaleConditionalFormattingRule.-ctor.html#FarPoint_Web_Spread_ThreeColorScaleConditionalFormattingRule__ctor_FarPoint_Web_Spread_ConditionalFormattingColorValue_FarPoint_Web_Spread_ConditionalFormattingColorValue_FarPoint_Web_Spread_ConditionalFormattingColorValue_">ThreeColorScaleConditionalFormattingRule(ConditionalFormattingColorValue, ConditionalFormattingColorValue, ConditionalFormattingColorValue)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Web.Spread.ThreeColorScaleConditionalFormattingRule.html">ThreeColorScaleConditionalFormattingRule</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_ThreeColorScaleConditionalFormattingRule__ctor_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_" data-uid="FarPoint.Web.Spread.ThreeColorScaleConditionalFormattingRule.#ctor(System.Drawing.Color,System.Drawing.Color,System.Drawing.Color)">
          <a class="xref" href="FarPoint.Web.Spread.ThreeColorScaleConditionalFormattingRule.-ctor.html#FarPoint_Web_Spread_ThreeColorScaleConditionalFormattingRule__ctor_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_">ThreeColorScaleConditionalFormattingRule(Color, Color, Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Web.Spread.ThreeColorScaleConditionalFormattingRule.html">ThreeColorScaleConditionalFormattingRule</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_ThreeColorScaleConditionalFormattingRule__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Web.Spread.ThreeColorScaleConditionalFormattingRule.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Web.Spread.ThreeColorScaleConditionalFormattingRule.-ctor.html#FarPoint_Web_Spread_ThreeColorScaleConditionalFormattingRule__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">ThreeColorScaleConditionalFormattingRule(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Web.Spread.ThreeColorScaleConditionalFormattingRule.html">ThreeColorScaleConditionalFormattingRule</a> class from serialization.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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="FarPoint_Web_Spread_ThreeColorScaleConditionalFormattingRule_MaxValue" data-uid="FarPoint.Web.Spread.ThreeColorScaleConditionalFormattingRule.MaxValue">
          <a class="xref" href="FarPoint.Web.Spread.ThreeColorScaleConditionalFormattingRule.MaxValue.html#FarPoint_Web_Spread_ThreeColorScaleConditionalFormattingRule_MaxValue">MaxValue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum value. Note: The maximum value only accepts the ConditionalFormattingColorValue object which has a Type property value of Max, Number, Percent, Formula, or Pecentile.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_ThreeColorScaleConditionalFormattingRule_MidValue" data-uid="FarPoint.Web.Spread.ThreeColorScaleConditionalFormattingRule.MidValue">
          <a class="xref" href="FarPoint.Web.Spread.ThreeColorScaleConditionalFormattingRule.MidValue.html#FarPoint_Web_Spread_ThreeColorScaleConditionalFormattingRule_MidValue">MidValue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the middle value. Note: The middle value only accepts the ConditionalFormattingColorValue object which has a Type property value of Number, Percent, Formula, or Pecentile.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_ThreeColorScaleConditionalFormattingRule_MinValue" data-uid="FarPoint.Web.Spread.ThreeColorScaleConditionalFormattingRule.MinValue">
          <a class="xref" href="FarPoint.Web.Spread.ThreeColorScaleConditionalFormattingRule.MinValue.html#FarPoint_Web_Spread_ThreeColorScaleConditionalFormattingRule_MinValue">MinValue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the minimum value. Note: The minimum value only accepts the ConditionalFormattingColorValue object which has a Type property value of Min, Number, Percent, Formula, or Pecentile.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Web_Spread_ThreeColorScaleConditionalFormattingRule_OnPropertyChanged_System_String_System_Boolean_" data-uid="FarPoint.Web.Spread.ThreeColorScaleConditionalFormattingRule.OnPropertyChanged(System.String,System.Boolean)">
          <a class="xref" href="FarPoint.Web.Spread.ThreeColorScaleConditionalFormattingRule.OnPropertyChanged.html#FarPoint_Web_Spread_ThreeColorScaleConditionalFormattingRule_OnPropertyChanged_System_String_System_Boolean_">OnPropertyChanged(string, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when a property value changes.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
