# GrapeCity.ActiveReports.Viewer.Win.TocPanel.Refresh

## Content

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



<h1 id="GrapeCity_ActiveReports_Viewer_Win_TocPanel_Refresh_" data-uid="GrapeCity.ActiveReports.Viewer.Win.TocPanel.Refresh*">Refresh Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Viewer_Win_TocPanel_Refresh_" data-uid="GrapeCity.ActiveReports.Viewer.Win.TocPanel.Refresh*"></a>
<h4 id="GrapeCity_ActiveReports_Viewer_Win_TocPanel_Refresh" data-uid="GrapeCity.ActiveReports.Viewer.Win.TocPanel.Refresh">Refresh()</h4>
<div 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>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override void Refresh()</code></pre>
</div>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="GrapeCity.ActiveReports.Viewer.Win.SidebarPanel.Refresh.html#GrapeCity_ActiveReports_Viewer_Win_SidebarPanel_Refresh">SidebarPanel.Refresh()</a></div>
<h5 id="GrapeCity_ActiveReports_Viewer_Win_TocPanel_Refresh_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method is essential for ensuring that the TOC panel reflects the most current state of the report's structure. It can be particularly
useful after modifications to the report, such as adding or removing sections, to ensure that these changes are accurately represented in the TOC.</p>
</div>
</div>
