# FarPoint.Web.Spread.IPrePaintTextConditionalFormattingRule

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_IPrePaintTextConditionalFormattingRule" data-uid="FarPoint.Web.Spread.IPrePaintTextConditionalFormattingRule" class="text-break">IPrePaintTextConditionalFormattingRule Interface
</h1>
  <div class="markdown level0 summary"><p>Represents the conditional formatting rule that is used for painting before the text is painted.</p>
</div>
  <div class="markdown level0 conceptual"></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_IPrePaintTextConditionalFormattingRule_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IPrePaintTextConditionalFormattingRule : IConditionalFormattingRule, INotifyPropertyChanged, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IPrePaintTextConditionalFormattingRule
    Inherits IConditionalFormattingRule, INotifyPropertyChanged, ICloneable</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="FarPoint_Web_Spread_IPrePaintTextConditionalFormattingRule_ShowConditionalFormatOnly" data-uid="FarPoint.Web.Spread.IPrePaintTextConditionalFormattingRule.ShowConditionalFormatOnly">
          <a class="xref" href="FarPoint.Web.Spread.IPrePaintTextConditionalFormattingRule.ShowConditionalFormatOnly.html#FarPoint_Web_Spread_IPrePaintTextConditionalFormattingRule_ShowConditionalFormatOnly">ShowConditionalFormatOnly</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates whether the cell text should not be painted.</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_IPrePaintTextConditionalFormattingRule_GetPreferredSize_System_Drawing_Graphics_System_Drawing_Size_FarPoint_Web_Spread_Appearance_System_Object_System_Single_System_Boolean_" data-uid="FarPoint.Web.Spread.IPrePaintTextConditionalFormattingRule.GetPreferredSize(System.Drawing.Graphics,System.Drawing.Size,FarPoint.Web.Spread.Appearance,System.Object,System.Single,System.Boolean)">
          <a class="xref" href="FarPoint.Web.Spread.IPrePaintTextConditionalFormattingRule.GetPreferredSize.html#FarPoint_Web_Spread_IPrePaintTextConditionalFormattingRule_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_IPrePaintTextConditionalFormattingRule_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.IPrePaintTextConditionalFormattingRule.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.IPrePaintTextConditionalFormattingRule.PaintCell.html#FarPoint_Web_Spread_IPrePaintTextConditionalFormattingRule_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>

</div>
