# GrapeCity.ActiveReports.Design.Designer.ContextMenuOpen

## Content

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




<h1 id="GrapeCity_ActiveReports_Design_Designer_ContextMenuOpen" data-uid="GrapeCity.ActiveReports.Design.Designer.ContextMenuOpen" class="text-break">ContextMenuOpen Event
</h1>
<div class="markdown level0 summary"><p>Occurs immediately before the context menu is displayed in the designer.</p>
</div>
<div class="markdown level0 conceptual"></div>
<h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Design.html">GrapeCity.ActiveReports.Design</a></h6>
<h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Design.Win.dll</h6>
<h5 id="GrapeCity_ActiveReports_Design_Designer_ContextMenuOpen_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public event ContextMenuOpenEventHandler ContextMenuOpen</code></pre>
</div>
<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="GrapeCity.ActiveReports.Design.ContextMenuOpenEventHandler.html">ContextMenuOpenEventHandler</a></td>
      <td>Occurs immediately before the context menu is displayed in the designer.</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Design_Designer_ContextMenuOpen_remarks"><strong>Remarks</strong></h5>
<div class="markdown level0 remarks"><p>This event provides an opportunity to customize the context menu before it is shown to the user. You can add, remove, or modify menu items based on the
current state of the designer or the selected elements within it.</p>
<p>Handlers for this event receive an argument of type <a class="xref" href="GrapeCity.ActiveReports.Design.ContextMenuOpenArgs.html">ContextMenuOpenArgs</a>, which provides information about the context menu and 
allows for its customization.</p>
</div>
</div>
