# FarPoint.Web.Spread.TopRankedValuesConditionalFormattingRule

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_TopRankedValuesConditionalFormattingRule" data-uid="FarPoint.Web.Spread.TopRankedValuesConditionalFormattingRule" class="text-break">TopRankedValuesConditionalFormattingRule Class
</h1>
  <div class="markdown level0 summary"><p>Represents a top bottom conditional formatting rule.</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.HighlightConditionalFormattingRule.html">HighlightConditionalFormattingRule</a></div>
    <div class="level4"><span class="xref">TopRankedValuesConditionalFormattingRule</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="FarPoint.Web.Spread.IStopablePrePaintConditionalFormattingRule.html">IStopablePrePaintConditionalFormattingRule</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.IFilterSupportConditionalFormattingRule.html">IFilterSupportConditionalFormattingRule</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.IConditionalFormattingDataRule.html">IConditionalFormattingDataRule</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.icloneable">ICloneable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</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_TopRankedValuesConditionalFormattingRule_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TopRankedValuesConditionalFormattingRule : HighlightConditionalFormattingRule, ICanSerializeXml, ISerializeSupport, IStopablePrePaintConditionalFormattingRule, IPrePaintConditionalFormattingRule, IExcelExporter, IFilterSupportConditionalFormattingRule, ISerializable, IConditionalFormattingDataRule, IConditionalFormattingRule, ICloneable, INotifyPropertyChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TopRankedValuesConditionalFormattingRule
    Inherits HighlightConditionalFormattingRule
    Implements ICanSerializeXml, ISerializeSupport, IStopablePrePaintConditionalFormattingRule, IPrePaintConditionalFormattingRule, IExcelExporter, IFilterSupportConditionalFormattingRule, ISerializable, IConditionalFormattingDataRule, IConditionalFormattingRule, ICloneable, INotifyPropertyChanged</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_TopRankedValuesConditionalFormattingRule__ctor" data-uid="FarPoint.Web.Spread.TopRankedValuesConditionalFormattingRule.#ctor">
          <a class="xref" href="FarPoint.Web.Spread.TopRankedValuesConditionalFormattingRule.-ctor.html#FarPoint_Web_Spread_TopRankedValuesConditionalFormattingRule__ctor">TopRankedValuesConditionalFormattingRule()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Web.Spread.TopRankedValuesConditionalFormattingRule.html">TopRankedValuesConditionalFormattingRule</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_TopRankedValuesConditionalFormattingRule__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Web.Spread.TopRankedValuesConditionalFormattingRule.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Web.Spread.TopRankedValuesConditionalFormattingRule.-ctor.html#FarPoint_Web_Spread_TopRankedValuesConditionalFormattingRule__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">TopRankedValuesConditionalFormattingRule(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Web.Spread.TopRankedValuesConditionalFormattingRule.html">TopRankedValuesConditionalFormattingRule</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_TopRankedValuesConditionalFormattingRule_IsDescending" data-uid="FarPoint.Web.Spread.TopRankedValuesConditionalFormattingRule.IsDescending">
          <a class="xref" href="FarPoint.Web.Spread.TopRankedValuesConditionalFormattingRule.IsDescending.html#FarPoint_Web_Spread_TopRankedValuesConditionalFormattingRule_IsDescending">IsDescending</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether this conditional format has an accepted value at the top of the rank.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_TopRankedValuesConditionalFormattingRule_IsPercent" data-uid="FarPoint.Web.Spread.TopRankedValuesConditionalFormattingRule.IsPercent">
          <a class="xref" href="FarPoint.Web.Spread.TopRankedValuesConditionalFormattingRule.IsPercent.html#FarPoint_Web_Spread_TopRankedValuesConditionalFormattingRule_IsPercent">IsPercent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether this conditional formatting rule is used as a percentage.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_TopRankedValuesConditionalFormattingRule_Rank" data-uid="FarPoint.Web.Spread.TopRankedValuesConditionalFormattingRule.Rank">
          <a class="xref" href="FarPoint.Web.Spread.TopRankedValuesConditionalFormattingRule.Rank.html#FarPoint_Web_Spread_TopRankedValuesConditionalFormattingRule_Rank">Rank</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the rank.</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_TopRankedValuesConditionalFormattingRule_DeserializeEntry_System_Runtime_Serialization_SerializationEntry_" data-uid="FarPoint.Web.Spread.TopRankedValuesConditionalFormattingRule.DeserializeEntry(System.Runtime.Serialization.SerializationEntry)">
          <a class="xref" href="FarPoint.Web.Spread.TopRankedValuesConditionalFormattingRule.DeserializeEntry.html#FarPoint_Web_Spread_TopRankedValuesConditionalFormattingRule_DeserializeEntry_System_Runtime_Serialization_SerializationEntry_">DeserializeEntry(SerializationEntry)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_TopRankedValuesConditionalFormattingRule_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Web.Spread.TopRankedValuesConditionalFormattingRule.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Web.Spread.TopRankedValuesConditionalFormattingRule.GetObjectData.html#FarPoint_Web_Spread_TopRankedValuesConditionalFormattingRule_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_TopRankedValuesConditionalFormattingRule_IsValid_System_Int32_System_Int32_System_Object_" data-uid="FarPoint.Web.Spread.TopRankedValuesConditionalFormattingRule.IsValid(System.Int32,System.Int32,System.Object)">
          <a class="xref" href="FarPoint.Web.Spread.TopRankedValuesConditionalFormattingRule.IsValid.html#FarPoint_Web_Spread_TopRankedValuesConditionalFormattingRule_IsValid_System_Int32_System_Int32_System_Object_">IsValid(int, int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified value is valid.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
