# FarPoint.Web.Spread.ConditionalFormattingRule

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_ConditionalFormattingRule" data-uid="FarPoint.Web.Spread.ConditionalFormattingRule" class="text-break">ConditionalFormattingRule Class
</h1>
  <div class="markdown level0 summary"><p>Represents the base class for conditional format rules.</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"><span class="xref">ConditionalFormattingRule</span></div>
      <div class="level2"><a class="xref" href="FarPoint.Web.Spread.PrePaintConditionalFormattingRule.html">PrePaintConditionalFormattingRule</a></div>
      <div class="level2"><a class="xref" href="FarPoint.Web.Spread.PrePaintTextConditionalFormattingRule.html">PrePaintTextConditionalFormattingRule</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <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><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>
  <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_ConditionalFormattingRule_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class ConditionalFormattingRule : IConditionalFormattingRule, INotifyPropertyChanged, ICloneable, ICanSerializeXml, ISerializeSupport, ISerializable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class ConditionalFormattingRule
    Implements IConditionalFormattingRule, INotifyPropertyChanged, ICloneable, ICanSerializeXml, ISerializeSupport, ISerializable</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_ConditionalFormattingRule__ctor" data-uid="FarPoint.Web.Spread.ConditionalFormattingRule.#ctor">
          <a class="xref" href="FarPoint.Web.Spread.ConditionalFormattingRule.-ctor.html#FarPoint_Web_Spread_ConditionalFormattingRule__ctor">ConditionalFormattingRule()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Web.Spread.ConditionalFormattingRule.html">ConditionalFormattingRule</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_ConditionalFormattingRule__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Web.Spread.ConditionalFormattingRule.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Web.Spread.ConditionalFormattingRule.-ctor.html#FarPoint_Web_Spread_ConditionalFormattingRule__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">ConditionalFormattingRule(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Web.Spread.ConditionalFormattingRule.html">ConditionalFormattingRule</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_ConditionalFormattingRule_ConditionalFormatting" data-uid="FarPoint.Web.Spread.ConditionalFormattingRule.ConditionalFormatting">
          <a class="xref" href="FarPoint.Web.Spread.ConditionalFormattingRule.ConditionalFormatting.html#FarPoint_Web_Spread_ConditionalFormattingRule_ConditionalFormatting">ConditionalFormatting</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the ConditionalFormatting object that contains this rule.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_ConditionalFormattingRule_Priority" data-uid="FarPoint.Web.Spread.ConditionalFormattingRule.Priority">
          <a class="xref" href="FarPoint.Web.Spread.ConditionalFormattingRule.Priority.html#FarPoint_Web_Spread_ConditionalFormattingRule_Priority">Priority</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the priority.</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_ConditionalFormattingRule_DeserializeEntry_System_Runtime_Serialization_SerializationEntry_" data-uid="FarPoint.Web.Spread.ConditionalFormattingRule.DeserializeEntry(System.Runtime.Serialization.SerializationEntry)">
          <a class="xref" href="FarPoint.Web.Spread.ConditionalFormattingRule.DeserializeEntry.html#FarPoint_Web_Spread_ConditionalFormattingRule_DeserializeEntry_System_Runtime_Serialization_SerializationEntry_">DeserializeEntry(SerializationEntry)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_ConditionalFormattingRule_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Web.Spread.ConditionalFormattingRule.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Web.Spread.ConditionalFormattingRule.GetObjectData.html#FarPoint_Web_Spread_ConditionalFormattingRule_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">GetObjectData(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_ConditionalFormattingRule_OnPropertyChanged_System_String_" data-uid="FarPoint.Web.Spread.ConditionalFormattingRule.OnPropertyChanged(System.String)">
          <a class="xref" href="FarPoint.Web.Spread.ConditionalFormattingRule.OnPropertyChanged.html#FarPoint_Web_Spread_ConditionalFormattingRule_OnPropertyChanged_System_String_">OnPropertyChanged(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when a property value changes.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_ConditionalFormattingRule_OnPropertyChanged_System_String_System_Boolean_" data-uid="FarPoint.Web.Spread.ConditionalFormattingRule.OnPropertyChanged(System.String,System.Boolean)">
          <a class="xref" href="FarPoint.Web.Spread.ConditionalFormattingRule.OnPropertyChanged.html#FarPoint_Web_Spread_ConditionalFormattingRule_OnPropertyChanged_System_String_System_Boolean_">OnPropertyChanged(string, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when a property value changes.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</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_ConditionalFormattingRule_PropertyChanged" data-uid="FarPoint.Web.Spread.ConditionalFormattingRule.PropertyChanged">
          <a class="xref" href="FarPoint.Web.Spread.ConditionalFormattingRule.PropertyChanged.html">PropertyChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when a property value changes.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
