# GrapeCity.ActiveReports.Viewer.Win.TocPanel.ContextMenu

## Content

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



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



<a id="GrapeCity_ActiveReports_Viewer_Win_TocPanel_ContextMenu_" data-uid="GrapeCity.ActiveReports.Viewer.Win.TocPanel.ContextMenu*"></a>
<h4 id="GrapeCity_ActiveReports_Viewer_Win_TocPanel_ContextMenu" data-uid="GrapeCity.ActiveReports.Viewer.Win.TocPanel.ContextMenu">ContextMenu</h4>
<div class="markdown level1 summary"><p>Gets or sets the context menu for the Table of Contents (TOC) panel.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override ContextMenuStrip ContextMenu { 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.windows.forms.contextmenustrip">ContextMenuStrip</a></td>
      <td><p>The context menu assigned to the TOC panel. It is of type <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.contextmenustrip">ContextMenuStrip</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="GrapeCity.ActiveReports.Viewer.Win.SidebarPanel.ContextMenu.html#GrapeCity_ActiveReports_Viewer_Win_SidebarPanel_ContextMenu">SidebarPanel.ContextMenu</a></div>
<h5 id="GrapeCity_ActiveReports_Viewer_Win_TocPanel_ContextMenu_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This property allows developers to assign a custom context menu to the TOC panel. When the user right-clicks on the TOC panel, this context menu
is displayed, providing a customizable set of options that can enhance the user's interaction with the report's structure.</p>
</div>
</div>
