# GrapeCity.ActiveReports.Viewer.Win.TocPanel

## Content

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



  <h1 id="GrapeCity_ActiveReports_Viewer_Win_TocPanel" data-uid="GrapeCity.ActiveReports.Viewer.Win.TocPanel" class="text-break">TocPanel Class
</h1>
  <div class="markdown level0 summary"><p>Represents the table of contents panel of the Viewer.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></div>
    <div class="level3"><a class="xref" href="GrapeCity.ActiveReports.Viewer.Win.SidebarPanel.html">SidebarPanel</a></div>
    <div class="level4"><span class="xref">TocPanel</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Viewer.Win.html">GrapeCity.ActiveReports.Viewer.Win</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Viewer.Win.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Viewer_Win_TocPanel_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(LabelStubConverter&lt;TocPanel&gt;))]
public sealed class TocPanel : SidebarPanel, IComponent, IDisposable</code></pre>
  </div>
  <h5 id="GrapeCity_ActiveReports_Viewer_Win_TocPanel_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>This class encapsulates the functionality of the Table of Contents (TOC) panel within the ActiveReports Viewer. It allows for the display and
interaction with the hierarchical structure of a report, providing users with a quick and easy way to navigate through the report's sections.</p>
</div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Viewer_Win_TocPanel_ContextMenu" data-uid="GrapeCity.ActiveReports.Viewer.Win.TocPanel.ContextMenu">
          <a class="xref" href="GrapeCity.ActiveReports.Viewer.Win.TocPanel.ContextMenu.html#GrapeCity_ActiveReports_Viewer_Win_TocPanel_ContextMenu">ContextMenu</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the context menu for the Table of Contents (TOC) panel.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Viewer_Win_TocPanel_EnabledRuntime" data-uid="GrapeCity.ActiveReports.Viewer.Win.TocPanel.EnabledRuntime">
          <a class="xref" href="GrapeCity.ActiveReports.Viewer.Win.TocPanel.EnabledRuntime.html#GrapeCity_ActiveReports_Viewer_Win_TocPanel_EnabledRuntime">EnabledRuntime</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether this <a class="xref" href="GrapeCity.ActiveReports.Viewer.Win.TocPanel.html">TocPanel</a> is enabled in runtime.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Viewer_Win_TocPanel_Expanded" data-uid="GrapeCity.ActiveReports.Viewer.Win.TocPanel.Expanded">
          <a class="xref" href="GrapeCity.ActiveReports.Viewer.Win.TocPanel.Expanded.html#GrapeCity_ActiveReports_Viewer_Win_TocPanel_Expanded">Expanded</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the Table of Contents (TOC) is expanded.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Viewer_Win_TocPanel_Text" data-uid="GrapeCity.ActiveReports.Viewer.Win.TocPanel.Text">
          <a class="xref" href="GrapeCity.ActiveReports.Viewer.Win.TocPanel.Text.html#GrapeCity_ActiveReports_Viewer_Win_TocPanel_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the caption of the Table of Contents (TOC) panel.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Viewer_Win_TocPanel_VisibleRuntime" data-uid="GrapeCity.ActiveReports.Viewer.Win.TocPanel.VisibleRuntime">
          <a class="xref" href="GrapeCity.ActiveReports.Viewer.Win.TocPanel.VisibleRuntime.html#GrapeCity_ActiveReports_Viewer_Win_TocPanel_VisibleRuntime">VisibleRuntime</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether this <a class="xref" href="GrapeCity.ActiveReports.Viewer.Win.TocPanel.html">TocPanel</a> is visible in runtime.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Viewer_Win_TocPanel_Clear" data-uid="GrapeCity.ActiveReports.Viewer.Win.TocPanel.Clear">
          <a class="xref" href="GrapeCity.ActiveReports.Viewer.Win.TocPanel.Clear.html#GrapeCity_ActiveReports_Viewer_Win_TocPanel_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Clears the table of contents panel.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Viewer_Win_TocPanel_Refresh" data-uid="GrapeCity.ActiveReports.Viewer.Win.TocPanel.Refresh">
          <a class="xref" href="GrapeCity.ActiveReports.Viewer.Win.TocPanel.Refresh.html#GrapeCity_ActiveReports_Viewer_Win_TocPanel_Refresh">Refresh()</a>
        </td>
        <td class="markdown level1 summary"><p>Forces the table of contents panel to invalidate its client area and immediately redraw itself and any child controls.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
