# GrapeCity.Spreadsheet.Charts.IChart.BeforeRightClick

## Content

<div class="doc-site-dotnet-api-container">




<h1 id="GrapeCity_Spreadsheet_Charts_IChart_BeforeRightClick" data-uid="GrapeCity.Spreadsheet.Charts.IChart.BeforeRightClick" class="text-break">BeforeRightClick Event
</h1>
<div class="markdown level0 summary"><p>Occurs when the chart is right-clicked, before the default right-click action.</p>
</div>
<div class="markdown level0 conceptual"></div>
<h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Spreadsheet.Charts.html">GrapeCity.Spreadsheet.Charts</a></h6>
<h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
<h5 id="GrapeCity_Spreadsheet_Charts_IChart_BeforeRightClick_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">event CancelEventHandler BeforeRightClick</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Event BeforeRightClick As CancelEventHandler</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="https://learn.microsoft.com/dotnet/api/system.componentmodel.canceleventhandler">CancelEventHandler</a></td>
      <td>Occurs when the chart is right-clicked, before the default right-click action.</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Spreadsheet_Charts_IChart_BeforeRightClick_remarks"><strong>Remarks</strong></h5>
<div class="markdown level0 remarks"><p>This function works with Spread WPF only.</p>
</div>
</div>
