# GrapeCity.ActiveReports.PageReportModel.Subreport.InheritStyleSheet

## Content

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



<h1 id="GrapeCity_ActiveReports_PageReportModel_Subreport_InheritStyleSheet_" data-uid="GrapeCity.ActiveReports.PageReportModel.Subreport.InheritStyleSheet*">InheritStyleSheet Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_PageReportModel_Subreport_InheritStyleSheet_" data-uid="GrapeCity.ActiveReports.PageReportModel.Subreport.InheritStyleSheet*"></a>
<h4 id="GrapeCity_ActiveReports_PageReportModel_Subreport_InheritStyleSheet" data-uid="GrapeCity.ActiveReports.PageReportModel.Subreport.InheritStyleSheet">InheritStyleSheet</h4>
<div class="markdown level1 summary"><p>Gets or sets a value indicating whether the subreport inherits the containing report's style sheet.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool InheritStyleSheet { 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.boolean">bool</a></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a> value where <code>true</code> indicates that the subreport inherits the containing
report's style sheet; otherwise <code>false</code>. Default is <code>true</code>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_PageReportModel_Subreport_InheritStyleSheet_examples">Examples</h5>
<pre><code class="lang-csharp">Subreport subreport = new Subreport();
subreport.InheritStyleSheet = false;</code></pre>

</div>
