# GrapeCity.ActiveReports.Viewer.Win.TocPanel.Expanded

## Content

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



<h1 id="GrapeCity_ActiveReports_Viewer_Win_TocPanel_Expanded_" data-uid="GrapeCity.ActiveReports.Viewer.Win.TocPanel.Expanded*">Expanded Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Viewer_Win_TocPanel_Expanded_" data-uid="GrapeCity.ActiveReports.Viewer.Win.TocPanel.Expanded*"></a>
<h4 id="GrapeCity_ActiveReports_Viewer_Win_TocPanel_Expanded" data-uid="GrapeCity.ActiveReports.Viewer.Win.TocPanel.Expanded">Expanded</h4>
<div class="markdown level1 summary"><p>Gets or sets a value indicating whether the Table of Contents (TOC) is expanded.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool Expanded { 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><code>true</code> if the TOC is expanded; otherwise, <code>false</code>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Viewer_Win_TocPanel_Expanded_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This property controls the expansion state of the TOC panel. When set to <code>true</code>, the TOC panel is fully expanded, displaying all available
sections and subsections of the report. When set to <code>false</code>, the TOC panel is collapsed, hiding its contents. This feature allows users
to manage the visibility of the report's structure for easier navigation and a cleaner workspace.</p>
</div>
</div>
