# GrapeCity.ActiveReports.PageReportModel.Grouping.Parent

## Content

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



<h1 id="GrapeCity_ActiveReports_PageReportModel_Grouping_Parent_" data-uid="GrapeCity.ActiveReports.PageReportModel.Grouping.Parent*">Parent Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_PageReportModel_Grouping_Parent_" data-uid="GrapeCity.ActiveReports.PageReportModel.Grouping.Parent*"></a>
<h4 id="GrapeCity_ActiveReports_PageReportModel_Grouping_Parent" data-uid="GrapeCity.ActiveReports.PageReportModel.Grouping.Parent">Parent</h4>
<div class="markdown level1 summary"><p>Gets or sets an expression that identifies the parent group in a recursive hierarchy.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ExpressionInfo Parent { 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="../MESCIUS.ActiveReports.Core.Data.ExpressionInfo/GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a></td>
      <td><p>An <a class="xref" href="../MESCIUS.ActiveReports.Core.Data.ExpressionInfo/GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a> object containing the parent group in a recursive hierarchy.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_PageReportModel_Grouping_Parent_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This property only applies if the group has exactly one group expression</p>
<p>Indicates the following:</p>
<ol><li>Groups are sorted according to the recursive hierarchy (sort is still used to sort peer groups).</li><li>Labels (in the document map) are indented according to the recursive hierarchy.</li><li>Intra-group show/hide toggles items according to the recursive hierarchy (see ToggleItem).</li></ol>
<p>If filters on the group eliminate the parent of a group instance, it is instead treated as a child of the parent's parent.</p>
</div>
<h5 id="GrapeCity_ActiveReports_PageReportModel_Grouping_Parent_examples">Examples</h5>
<pre><code class="lang-csharp">Grouping group = new Grouping();
group.Parent = ExpressionInfo.FromString("=Fields!ParentCategory.Value");</code></pre>

</div>
