# GrapeCity.Documents.Excel.IUniqueValues

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Excel_IUniqueValues" data-uid="GrapeCity.Documents.Excel.IUniqueValues" class="text-break">IUniqueValues Interface
</h1>
  <div class="markdown level0 summary"><p>The UniqueValues object uses the UniqueValues.DupeUnique property to return or set an enumeration that determines whether the rule should
look for duplicate or unique values in the range.</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_IUniqueValues_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IUniqueValues</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IUniqueValues</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_IUniqueValues_AppliesTo" data-uid="GrapeCity.Documents.Excel.IUniqueValues.AppliesTo">
          <a class="xref" href="GrapeCity.Documents.Excel.IUniqueValues.AppliesTo.html#GrapeCity_Documents_Excel_IUniqueValues_AppliesTo">AppliesTo</a>
        </td>
        <td class="markdown level1 summary"><p>Returns or sets a Range object specifying the cell range to which the formatting rule is applied.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IUniqueValues_Borders" data-uid="GrapeCity.Documents.Excel.IUniqueValues.Borders">
          <a class="xref" href="GrapeCity.Documents.Excel.IUniqueValues.Borders.html#GrapeCity_Documents_Excel_IUniqueValues_Borders">Borders</a>
        </td>
        <td class="markdown level1 summary"><p>Returns an instance of IBorders which represents the borders of this conditional format.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IUniqueValues_DupeUnique" data-uid="GrapeCity.Documents.Excel.IUniqueValues.DupeUnique">
          <a class="xref" href="GrapeCity.Documents.Excel.IUniqueValues.DupeUnique.html#GrapeCity_Documents_Excel_IUniqueValues_DupeUnique">DupeUnique</a>
        </td>
        <td class="markdown level1 summary"><p>Returns or sets if the conditional format rule is looking for unique or duplicate values.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IUniqueValues_Font" data-uid="GrapeCity.Documents.Excel.IUniqueValues.Font">
          <a class="xref" href="GrapeCity.Documents.Excel.IUniqueValues.Font.html#GrapeCity_Documents_Excel_IUniqueValues_Font">Font</a>
        </td>
        <td class="markdown level1 summary"><p>Returns an instance of IFont which represents the font of this conditional format.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IUniqueValues_Interior" data-uid="GrapeCity.Documents.Excel.IUniqueValues.Interior">
          <a class="xref" href="GrapeCity.Documents.Excel.IUniqueValues.Interior.html#GrapeCity_Documents_Excel_IUniqueValues_Interior">Interior</a>
        </td>
        <td class="markdown level1 summary"><p>Returns an instance of IInterior which represents the background color of this conditional format.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IUniqueValues_NumberFormat" data-uid="GrapeCity.Documents.Excel.IUniqueValues.NumberFormat">
          <a class="xref" href="GrapeCity.Documents.Excel.IUniqueValues.NumberFormat.html#GrapeCity_Documents_Excel_IUniqueValues_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_IUniqueValues_Priority" data-uid="GrapeCity.Documents.Excel.IUniqueValues.Priority">
          <a class="xref" href="GrapeCity.Documents.Excel.IUniqueValues.Priority.html#GrapeCity_Documents_Excel_IUniqueValues_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_IUniqueValues_StopIfTrue" data-uid="GrapeCity.Documents.Excel.IUniqueValues.StopIfTrue">
          <a class="xref" href="GrapeCity.Documents.Excel.IUniqueValues.StopIfTrue.html#GrapeCity_Documents_Excel_IUniqueValues_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_IUniqueValues_Type" data-uid="GrapeCity.Documents.Excel.IUniqueValues.Type">
          <a class="xref" href="GrapeCity.Documents.Excel.IUniqueValues.Type.html#GrapeCity_Documents_Excel_IUniqueValues_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_IUniqueValues_Delete" data-uid="GrapeCity.Documents.Excel.IUniqueValues.Delete">
          <a class="xref" href="GrapeCity.Documents.Excel.IUniqueValues.Delete.html#GrapeCity_Documents_Excel_IUniqueValues_Delete">Delete()</a>
        </td>
        <td class="markdown level1 summary"><p>Deletes this conditional format.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IUniqueValues_FromJson_System_String_" data-uid="GrapeCity.Documents.Excel.IUniqueValues.FromJson(System.String)">
          <a class="xref" href="GrapeCity.Documents.Excel.IUniqueValues.FromJson.html#GrapeCity_Documents_Excel_IUniqueValues_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_IUniqueValues_SetFirstPriority" data-uid="GrapeCity.Documents.Excel.IUniqueValues.SetFirstPriority">
          <a class="xref" href="GrapeCity.Documents.Excel.IUniqueValues.SetFirstPriority.html#GrapeCity_Documents_Excel_IUniqueValues_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_IUniqueValues_SetLastPriority" data-uid="GrapeCity.Documents.Excel.IUniqueValues.SetLastPriority">
          <a class="xref" href="GrapeCity.Documents.Excel.IUniqueValues.SetLastPriority.html#GrapeCity_Documents_Excel_IUniqueValues_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_IUniqueValues_ToJson" data-uid="GrapeCity.Documents.Excel.IUniqueValues.ToJson">
          <a class="xref" href="GrapeCity.Documents.Excel.IUniqueValues.ToJson.html#GrapeCity_Documents_Excel_IUniqueValues_ToJson">ToJson()</a>
        </td>
        <td class="markdown level1 summary"><p>Generates a json string from the conditional format.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
