# GrapeCity.ActiveReports.PageReportModel.TextBox.HideDuplicates

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_PageReportModel_TextBox_HideDuplicates_" data-uid="GrapeCity.ActiveReports.PageReportModel.TextBox.HideDuplicates*">HideDuplicates Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_PageReportModel_TextBox_HideDuplicates_" data-uid="GrapeCity.ActiveReports.PageReportModel.TextBox.HideDuplicates*"></a>
<h4 id="GrapeCity_ActiveReports_PageReportModel_TextBox_HideDuplicates" data-uid="GrapeCity.ActiveReports.PageReportModel.TextBox.HideDuplicates">HideDuplicates</h4>
<div class="markdown level1 summary"><p>Gets or sets a name of a grouping or data set within which to hide the item when the expression's value matches the preceding instance.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public string HideDuplicates { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value indicating the name of the grouping or data set to apply the hiding.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_PageReportModel_TextBox_HideDuplicates_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This property hides duplicates within a specified group or data set. When a new group instance is encountered, 
the first item is shown. Rows on previous pages are ignored for hiding duplicates. If within a table or matrix cell, 
only the text is hidden, not the textbox itself.</p>
    <p>This property is ignored in matrix subtotals.</p>
</div>
<h5 id="GrapeCity_ActiveReports_PageReportModel_TextBox_HideDuplicates_examples">Examples</h5>
<pre><code class="lang-csharp">TextBox textBox = new TextBox();
textBox.HideDuplicates = "GroupName";</code></pre>

</div>
