# FarPoint.Web.Spread.ConditionalFormat

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_ConditionalFormat" data-uid="FarPoint.Web.Spread.ConditionalFormat" class="text-break">ConditionalFormat Class
</h1>
  <div class="markdown level0 summary"><p>Represents a conditional format.</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">ConditionalFormat</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <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.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_ConditionalFormat_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ConditionalFormat : ICloneable, ISerializeSupport, ISerializable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ConditionalFormat
    Implements ICloneable, 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_ConditionalFormat__ctor" data-uid="FarPoint.Web.Spread.ConditionalFormat.#ctor">
          <a class="xref" href="FarPoint.Web.Spread.ConditionalFormat.-ctor.html#FarPoint_Web_Spread_ConditionalFormat__ctor">ConditionalFormat()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new conditional format.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_ConditionalFormat__ctor_FarPoint_Web_Spread_NamedStyle_" data-uid="FarPoint.Web.Spread.ConditionalFormat.#ctor(FarPoint.Web.Spread.NamedStyle)">
          <a class="xref" href="FarPoint.Web.Spread.ConditionalFormat.-ctor.html#FarPoint_Web_Spread_ConditionalFormat__ctor_FarPoint_Web_Spread_NamedStyle_">ConditionalFormat(NamedStyle)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new conditional format with the specified style.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_ConditionalFormat__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Web.Spread.ConditionalFormat.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Web.Spread.ConditionalFormat.-ctor.html#FarPoint_Web_Spread_ConditionalFormat__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">ConditionalFormat(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new conditional format 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_ConditionalFormat_ComparisonOperator" data-uid="FarPoint.Web.Spread.ConditionalFormat.ComparisonOperator">
          <a class="xref" href="FarPoint.Web.Spread.ConditionalFormat.ComparisonOperator.html#FarPoint_Web_Spread_ConditionalFormat_ComparisonOperator">ComparisonOperator</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the comparison operator for the conditional format.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_ConditionalFormat_FirstCondition" data-uid="FarPoint.Web.Spread.ConditionalFormat.FirstCondition">
          <a class="xref" href="FarPoint.Web.Spread.ConditionalFormat.FirstCondition.html#FarPoint_Web_Spread_ConditionalFormat_FirstCondition">FirstCondition</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the first condition.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_ConditionalFormat_FirstConditionExpression" data-uid="FarPoint.Web.Spread.ConditionalFormat.FirstConditionExpression">
          <a class="xref" href="FarPoint.Web.Spread.ConditionalFormat.FirstConditionExpression.html#FarPoint_Web_Spread_ConditionalFormat_FirstConditionExpression">FirstConditionExpression</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the first condition as an expression.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_ConditionalFormat_LastCondition" data-uid="FarPoint.Web.Spread.ConditionalFormat.LastCondition">
          <a class="xref" href="FarPoint.Web.Spread.ConditionalFormat.LastCondition.html#FarPoint_Web_Spread_ConditionalFormat_LastCondition">LastCondition</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the last condition.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_ConditionalFormat_LastConditionExpression" data-uid="FarPoint.Web.Spread.ConditionalFormat.LastConditionExpression">
          <a class="xref" href="FarPoint.Web.Spread.ConditionalFormat.LastConditionExpression.html#FarPoint_Web_Spread_ConditionalFormat_LastConditionExpression">LastConditionExpression</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the last condition as an expression.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_ConditionalFormat_Style" data-uid="FarPoint.Web.Spread.ConditionalFormat.Style">
          <a class="xref" href="FarPoint.Web.Spread.ConditionalFormat.Style.html#FarPoint_Web_Spread_ConditionalFormat_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a style for the conditional format.</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_ConditionalFormat_Clone" data-uid="FarPoint.Web.Spread.ConditionalFormat.Clone">
          <a class="xref" href="FarPoint.Web.Spread.ConditionalFormat.Clone.html#FarPoint_Web_Spread_ConditionalFormat_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates and returns a copy of the conditional format.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_ConditionalFormat_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Web.Spread.ConditionalFormat.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Web.Spread.ConditionalFormat.Deserialize.html#FarPoint_Web_Spread_ConditionalFormat_Deserialize_System_Xml_XmlNodeReader_">Deserialize(XmlNodeReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the conditional format object from XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_ConditionalFormat_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Web.Spread.ConditionalFormat.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Web.Spread.ConditionalFormat.GetObjectData.html#FarPoint_Web_Spread_ConditionalFormat_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">GetObjectData(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the object data.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_ConditionalFormat_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Web.Spread.ConditionalFormat.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Web.Spread.ConditionalFormat.Serialize.html#FarPoint_Web_Spread_ConditionalFormat_Serialize_System_Xml_XmlTextWriter_">Serialize(XmlTextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the conditional format object to XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_ConditionalFormat_Serialize_System_Xml_XmlTextWriter_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.ConditionalFormat.Serialize(System.Xml.XmlTextWriter,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.ConditionalFormat.Serialize.html#FarPoint_Web_Spread_ConditionalFormat_Serialize_System_Xml_XmlTextWriter_System_Int32_System_Int32_">Serialize(XmlTextWriter, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the conditional format object to XML from a specified row and column.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
