# GrapeCity.ActiveReports.Rendering.Components.InteractiveToggleState.GetParentToggles

## Content

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



<h1 id="GrapeCity_ActiveReports_Rendering_Components_InteractiveToggleState_GetParentToggles_" data-uid="GrapeCity.ActiveReports.Rendering.Components.InteractiveToggleState.GetParentToggles*">GetParentToggles Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Rendering_Components_InteractiveToggleState_GetParentToggles_" data-uid="GrapeCity.ActiveReports.Rendering.Components.InteractiveToggleState.GetParentToggles*"></a>
<h4 id="GrapeCity_ActiveReports_Rendering_Components_InteractiveToggleState_GetParentToggles_GrapeCity_ActiveReports_Rendering_Components_ReportItemKey_" data-uid="GrapeCity.ActiveReports.Rendering.Components.InteractiveToggleState.GetParentToggles(GrapeCity.ActiveReports.Rendering.Components.ReportItemKey)">GetParentToggles(ReportItemKey)</h4>
<div class="markdown level1 summary"><p>Returns a list containing the ReportItemKey on which the depends <code class="paramref">key</code></p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public IList&lt;ReportItemKey&gt; GetParentToggles(ReportItemKey key)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Rendering.Components.ReportItemKey.html">ReportItemKey</a></td>
      <td><span class="parametername">key</span></td>
      <td><p>A ReportItemKey that represents an element whose visibility can be changed by another ReportItemKey.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</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.collections.generic.ilist-1">IList</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.Rendering.Components.ReportItemKey.html">ReportItemKey</a>&gt;</td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
