# GrapeCity.ActiveReports.PageReportModel.Subreport.Parameters

## Content

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



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



<a id="GrapeCity_ActiveReports_PageReportModel_Subreport_Parameters_" data-uid="GrapeCity.ActiveReports.PageReportModel.Subreport.Parameters*"></a>
<h4 id="GrapeCity_ActiveReports_PageReportModel_Subreport_Parameters" data-uid="GrapeCity.ActiveReports.PageReportModel.Subreport.Parameters">Parameters</h4>
<div class="markdown level1 summary"><p>Gets the parameters associated with the subreport.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ParameterCollection Parameters { get; }</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="GrapeCity.ActiveReports.PageReportModel.ParameterCollection.html">ParameterCollection</a></td>
      <td><p>A <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ParameterCollection.html">ParameterCollection</a> object containing parameters for the subreport.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_PageReportModel_Subreport_Parameters_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>If the subreport is executed without parameters and lacks Toggle elements, it runs
only once even when nested within a list, table, or matrix.</p>
</div>
<h5 id="GrapeCity_ActiveReports_PageReportModel_Subreport_Parameters_examples">Examples</h5>
<pre><code class="lang-csharp">Subreport subreport = new Subreport();
var parameters = subreport.Parameters;
parameters.Add(new Parameter("OrderID", "10248"));</code></pre>

</div>
