# GrapeCity.Documents.Excel.ITop10

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Excel_ITop10" data-uid="GrapeCity.Documents.Excel.ITop10" class="text-break">ITop10 Interface
</h1>
  <div class="markdown level0 summary"><p>Represents a top ten visual of a conditional formatting rule. Applying a color to a range helps you see the value of a cell relative to other cells.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Excel.html">GrapeCity.Documents.Excel</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Excel.dll</h6>
  <h5 id="GrapeCity_Documents_Excel_ITop10_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface ITop10</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface ITop10</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="GrapeCity_Documents_Excel_ITop10_AppliesTo" data-uid="GrapeCity.Documents.Excel.ITop10.AppliesTo">
          <a class="xref" href="GrapeCity.Documents.Excel.ITop10.AppliesTo.html#GrapeCity_Documents_Excel_ITop10_AppliesTo">AppliesTo</a>
        </td>
        <td class="markdown level1 summary"><p>Returns or sets the <a class="xref" href="GrapeCity.Documents.Excel.IRange.html">IRange</a> object that specifies the cell range to which the formatting rule is applied.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_ITop10_Borders" data-uid="GrapeCity.Documents.Excel.ITop10.Borders">
          <a class="xref" href="GrapeCity.Documents.Excel.ITop10.Borders.html#GrapeCity_Documents_Excel_ITop10_Borders">Borders</a>
        </td>
        <td class="markdown level1 summary"><p>Returns an instance of <a class="xref" href="GrapeCity.Documents.Excel.IBorders.html">IBorders</a> which represents the borders of this conditional format.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_ITop10_Font" data-uid="GrapeCity.Documents.Excel.ITop10.Font">
          <a class="xref" href="GrapeCity.Documents.Excel.ITop10.Font.html#GrapeCity_Documents_Excel_ITop10_Font">Font</a>
        </td>
        <td class="markdown level1 summary"><p>Returns an instance of <a class="xref" href="GrapeCity.Documents.Excel.IFont.html">IFont</a> which represents the font of this conditional format.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_ITop10_Interior" data-uid="GrapeCity.Documents.Excel.ITop10.Interior">
          <a class="xref" href="GrapeCity.Documents.Excel.ITop10.Interior.html#GrapeCity_Documents_Excel_ITop10_Interior">Interior</a>
        </td>
        <td class="markdown level1 summary"><p>Returns an instance of <a class="xref" href="GrapeCity.Documents.Excel.IInterior.html">IInterior</a> which represents the background color of this conditional format.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_ITop10_NumberFormat" data-uid="GrapeCity.Documents.Excel.ITop10.NumberFormat">
          <a class="xref" href="GrapeCity.Documents.Excel.ITop10.NumberFormat.html#GrapeCity_Documents_Excel_ITop10_NumberFormat">NumberFormat</a>
        </td>
        <td class="markdown level1 summary"><p>Returns or sets the number format applied to a cell if the conditional formatting rule evaluates to True (read or write object).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_ITop10_Percent" data-uid="GrapeCity.Documents.Excel.ITop10.Percent">
          <a class="xref" href="GrapeCity.Documents.Excel.ITop10.Percent.html#GrapeCity_Documents_Excel_ITop10_Percent">Percent</a>
        </td>
        <td class="markdown level1 summary"><p>Returns or sets a Boolean value, specifying if the rank is determined by a percentage value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_ITop10_Priority" data-uid="GrapeCity.Documents.Excel.ITop10.Priority">
          <a class="xref" href="GrapeCity.Documents.Excel.ITop10.Priority.html#GrapeCity_Documents_Excel_ITop10_Priority">Priority</a>
        </td>
        <td class="markdown level1 summary"><p>Returns or sets the priority value of the conditional formatting rule. The priority determines the order of evaluation when
multiple conditional formatting rules exist in a worksheet.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_ITop10_Rank" data-uid="GrapeCity.Documents.Excel.ITop10.Rank">
          <a class="xref" href="GrapeCity.Documents.Excel.ITop10.Rank.html#GrapeCity_Documents_Excel_ITop10_Rank">Rank</a>
        </td>
        <td class="markdown level1 summary"><p>Returns or sets an Integer value, specifying either the number or percentage of the rank value for the conditional format rule.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_ITop10_StopIfTrue" data-uid="GrapeCity.Documents.Excel.ITop10.StopIfTrue">
          <a class="xref" href="GrapeCity.Documents.Excel.ITop10.StopIfTrue.html#GrapeCity_Documents_Excel_ITop10_StopIfTrue">StopIfTrue</a>
        </td>
        <td class="markdown level1 summary"><p>Returns or sets a Boolean value that determines if additional formatting rules on the cell should be evaluated if the current rule evaluates to True.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_ITop10_TopBottom" data-uid="GrapeCity.Documents.Excel.ITop10.TopBottom">
          <a class="xref" href="GrapeCity.Documents.Excel.ITop10.TopBottom.html#GrapeCity_Documents_Excel_ITop10_TopBottom">TopBottom</a>
        </td>
        <td class="markdown level1 summary"><p>Returns or sets one of the constants of the <a class="xref" href="GrapeCity.Documents.Excel.ITop10.TopBottom.html#GrapeCity_Documents_Excel_ITop10_TopBottom">TopBottom</a> enumeration, determining if the ranking is evaluated from the top or bottom.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_ITop10_Type" data-uid="GrapeCity.Documents.Excel.ITop10.Type">
          <a class="xref" href="GrapeCity.Documents.Excel.ITop10.Type.html#GrapeCity_Documents_Excel_ITop10_Type">Type</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the type of this 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="GrapeCity_Documents_Excel_ITop10_Delete" data-uid="GrapeCity.Documents.Excel.ITop10.Delete">
          <a class="xref" href="GrapeCity.Documents.Excel.ITop10.Delete.html#GrapeCity_Documents_Excel_ITop10_Delete">Delete()</a>
        </td>
        <td class="markdown level1 summary"><p>Deletes this conditional format.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_ITop10_FromJson_System_String_" data-uid="GrapeCity.Documents.Excel.ITop10.FromJson(System.String)">
          <a class="xref" href="GrapeCity.Documents.Excel.ITop10.FromJson.html#GrapeCity_Documents_Excel_ITop10_FromJson_System_String_">FromJson(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Generates the conditional format from the json string.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_ITop10_SetFirstPriority" data-uid="GrapeCity.Documents.Excel.ITop10.SetFirstPriority">
          <a class="xref" href="GrapeCity.Documents.Excel.ITop10.SetFirstPriority.html#GrapeCity_Documents_Excel_ITop10_SetFirstPriority">SetFirstPriority()</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the priority value for this conditional formatting rule to &quot;1&quot; so that
it will be evaluated before all other rules on the worksheet.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_ITop10_SetLastPriority" data-uid="GrapeCity.Documents.Excel.ITop10.SetLastPriority">
          <a class="xref" href="GrapeCity.Documents.Excel.ITop10.SetLastPriority.html#GrapeCity_Documents_Excel_ITop10_SetLastPriority">SetLastPriority()</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the evaluation order for this conditional formatting rule so it is evaluated
after all other rules on the worksheet.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_ITop10_ToJson" data-uid="GrapeCity.Documents.Excel.ITop10.ToJson">
          <a class="xref" href="GrapeCity.Documents.Excel.ITop10.ToJson.html#GrapeCity_Documents_Excel_ITop10_ToJson">ToJson()</a>
        </td>
        <td class="markdown level1 summary"><p>Generates a json string from the conditional format.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
