# FarPoint.Web.Spread.IconSetConditionalFormattingRule

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_IconSetConditionalFormattingRule" data-uid="FarPoint.Web.Spread.IconSetConditionalFormattingRule" class="text-break">IconSetConditionalFormattingRule Class
</h1>
  <div class="markdown level0 summary"><p>Represents the rule that paints an icon in the cell.</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.PrePaintTextConditionalFormattingRule.html">PrePaintTextConditionalFormattingRule</a></div>
    <div class="level3"><span class="xref">IconSetConditionalFormattingRule</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.IPrePaintTextConditionalFormattingRule.html">IPrePaintTextConditionalFormattingRule</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.IConditionalFormattingDataRule.html">IConditionalFormattingDataRule</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.IExcelExporter.html">IExcelExporter</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.IPdfPrintableRule.html">IPdfPrintableRule</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_IconSetConditionalFormattingRule_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class IconSetConditionalFormattingRule : PrePaintTextConditionalFormattingRule, ICanSerializeXml, ISerializeSupport, ISerializable, IPrePaintTextConditionalFormattingRule, IConditionalFormattingDataRule, IExcelExporter, IExpressionConsumer, IFilterSupportConditionalFormattingRule, IPdfPrintableRule, IConditionalFormattingRule, INotifyPropertyChanged, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class IconSetConditionalFormattingRule
    Inherits PrePaintTextConditionalFormattingRule
    Implements ICanSerializeXml, ISerializeSupport, ISerializable, IPrePaintTextConditionalFormattingRule, IConditionalFormattingDataRule, IExcelExporter, IExpressionConsumer, IFilterSupportConditionalFormattingRule, IPdfPrintableRule, 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_IconSetConditionalFormattingRule__ctor_FarPoint_Web_Spread_ConditionalFormattingIconSetStyle_" data-uid="FarPoint.Web.Spread.IconSetConditionalFormattingRule.#ctor(FarPoint.Web.Spread.ConditionalFormattingIconSetStyle)">
          <a class="xref" href="FarPoint.Web.Spread.IconSetConditionalFormattingRule.-ctor.html#FarPoint_Web_Spread_IconSetConditionalFormattingRule__ctor_FarPoint_Web_Spread_ConditionalFormattingIconSetStyle_">IconSetConditionalFormattingRule(ConditionalFormattingIconSetStyle)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Web.Spread.IconSetConditionalFormattingRule.html">IconSetConditionalFormattingRule</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_IconSetConditionalFormattingRule__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Web.Spread.IconSetConditionalFormattingRule.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Web.Spread.IconSetConditionalFormattingRule.-ctor.html#FarPoint_Web_Spread_IconSetConditionalFormattingRule__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">IconSetConditionalFormattingRule(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Web.Spread.IconSetConditionalFormattingRule.html">IconSetConditionalFormattingRule</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_IconSetConditionalFormattingRule_IconRuleSet" data-uid="FarPoint.Web.Spread.IconSetConditionalFormattingRule.IconRuleSet">
          <a class="xref" href="FarPoint.Web.Spread.IconSetConditionalFormattingRule.IconRuleSet.html#FarPoint_Web_Spread_IconSetConditionalFormattingRule_IconRuleSet">IconRuleSet</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the icons.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_IconSetConditionalFormattingRule_Reversed" data-uid="FarPoint.Web.Spread.IconSetConditionalFormattingRule.Reversed">
          <a class="xref" href="FarPoint.Web.Spread.IconSetConditionalFormattingRule.Reversed.html#FarPoint_Web_Spread_IconSetConditionalFormattingRule_Reversed">Reversed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates whether this <a class="xref" href="FarPoint.Web.Spread.IconSetConditionalFormattingRule.html">IconSetConditionalFormattingRule</a> is reversed.</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_IconSetConditionalFormattingRule_DeserializeEntry_System_Runtime_Serialization_SerializationEntry_" data-uid="FarPoint.Web.Spread.IconSetConditionalFormattingRule.DeserializeEntry(System.Runtime.Serialization.SerializationEntry)">
          <a class="xref" href="FarPoint.Web.Spread.IconSetConditionalFormattingRule.DeserializeEntry.html#FarPoint_Web_Spread_IconSetConditionalFormattingRule_DeserializeEntry_System_Runtime_Serialization_SerializationEntry_">DeserializeEntry(SerializationEntry)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_IconSetConditionalFormattingRule_FindMatch_System_Object_" data-uid="FarPoint.Web.Spread.IconSetConditionalFormattingRule.FindMatch(System.Object)">
          <a class="xref" href="FarPoint.Web.Spread.IconSetConditionalFormattingRule.FindMatch.html#FarPoint_Web_Spread_IconSetConditionalFormattingRule_FindMatch_System_Object_">FindMatch(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Finds the index of matched icon.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_IconSetConditionalFormattingRule_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Web.Spread.IconSetConditionalFormattingRule.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Web.Spread.IconSetConditionalFormattingRule.GetObjectData.html#FarPoint_Web_Spread_IconSetConditionalFormattingRule_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_IconSetConditionalFormattingRule_GetPreferredSize_System_Drawing_Graphics_System_Drawing_Size_FarPoint_Web_Spread_Appearance_System_Object_System_Single_System_Boolean_" data-uid="FarPoint.Web.Spread.IconSetConditionalFormattingRule.GetPreferredSize(System.Drawing.Graphics,System.Drawing.Size,FarPoint.Web.Spread.Appearance,System.Object,System.Single,System.Boolean)">
          <a class="xref" href="FarPoint.Web.Spread.IconSetConditionalFormattingRule.GetPreferredSize.html#FarPoint_Web_Spread_IconSetConditionalFormattingRule_GetPreferredSize_System_Drawing_Graphics_System_Drawing_Size_FarPoint_Web_Spread_Appearance_System_Object_System_Single_System_Boolean_">GetPreferredSize(Graphics, Size, Appearance, object, float, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the preferred (maximum required) size of the cell for the renderer control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_IconSetConditionalFormattingRule_PaintCell_System_String_System_Web_UI_Control_FarPoint_Web_Spread_Appearance_FarPoint_Web_Spread_Inset_System_Object_System_Boolean_System_Boolean_" data-uid="FarPoint.Web.Spread.IconSetConditionalFormattingRule.PaintCell(System.String,System.Web.UI.Control,FarPoint.Web.Spread.Appearance,FarPoint.Web.Spread.Inset,System.Object,System.Boolean,System.Boolean)">
          <a class="xref" href="FarPoint.Web.Spread.IconSetConditionalFormattingRule.PaintCell.html#FarPoint_Web_Spread_IconSetConditionalFormattingRule_PaintCell_System_String_System_Web_UI_Control_FarPoint_Web_Spread_Appearance_FarPoint_Web_Spread_Inset_System_Object_System_Boolean_System_Boolean_">PaintCell(string, Control, Appearance, Inset, object, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints the cell.</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_IconSetConditionalFormattingRule_MeasureIconSize" data-uid="FarPoint.Web.Spread.IconSetConditionalFormattingRule.MeasureIconSize">
          <a class="xref" href="FarPoint.Web.Spread.IconSetConditionalFormattingRule.MeasureIconSize.html">MeasureIconSize</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when measuring the size of an icon that is displayed in a cell.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
