# C1.Win.Ribbon.ContextMenuPopupEventArgs

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Ribbon_ContextMenuPopupEventArgs" data-uid="C1.Win.Ribbon.ContextMenuPopupEventArgs" class="text-break">ContextMenuPopupEventArgs Class
</h1>
  <div class="markdown level0 summary"><p>Provides data for the <a class="xref" href="C1.Win.Ribbon.C1Ribbon.ContextMenuPopup.html">ContextMenuPopup</a> event.</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.eventargs">EventArgs</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.canceleventargs">CancelEventArgs</a></div>
    <div class="level3"><span class="xref">ContextMenuPopupEventArgs</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Ribbon.html">C1.Win.Ribbon</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Ribbon.10.dll</h6>
  <h5 id="C1_Win_Ribbon_ContextMenuPopupEventArgs_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ContextMenuPopupEventArgs : CancelEventArgs</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ContextMenuPopupEventArgs
    Inherits CancelEventArgs</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Ribbon_ContextMenuPopupEventArgs__ctor_System_ComponentModel_Component_System_Drawing_Point_System_Boolean_" data-uid="C1.Win.Ribbon.ContextMenuPopupEventArgs.#ctor(System.ComponentModel.Component,System.Drawing.Point,System.Boolean)">
          <a class="xref" href="C1.Win.Ribbon.ContextMenuPopupEventArgs.-ctor.html#C1_Win_Ribbon_ContextMenuPopupEventArgs__ctor_System_ComponentModel_Component_System_Drawing_Point_System_Boolean_">ContextMenuPopupEventArgs(Component, Point, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of <a class="xref" href="C1.Win.Ribbon.ContextMenuPopupEventArgs.html">ContextMenuPopupEventArgs</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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="C1_Win_Ribbon_ContextMenuPopupEventArgs_Component" data-uid="C1.Win.Ribbon.ContextMenuPopupEventArgs.Component">
          <a class="xref" href="C1.Win.Ribbon.ContextMenuPopupEventArgs.Component.html#C1_Win_Ribbon_ContextMenuPopupEventArgs_Component">Component</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the component for which the menu is shown.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_ContextMenuPopupEventArgs_IsCustomMenu" data-uid="C1.Win.Ribbon.ContextMenuPopupEventArgs.IsCustomMenu">
          <a class="xref" href="C1.Win.Ribbon.ContextMenuPopupEventArgs.IsCustomMenu.html#C1_Win_Ribbon_ContextMenuPopupEventArgs_IsCustomMenu">IsCustomMenu</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether this menu is custom.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_ContextMenuPopupEventArgs_Location" data-uid="C1.Win.Ribbon.ContextMenuPopupEventArgs.Location">
          <a class="xref" href="C1.Win.Ribbon.ContextMenuPopupEventArgs.Location.html#C1_Win_Ribbon_ContextMenuPopupEventArgs_Location">Location</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the upper-left or upper-right corner of the context menu in screen coordinates.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_ContextMenuPopupEventArgs_UseCustomMenu" data-uid="C1.Win.Ribbon.ContextMenuPopupEventArgs.UseCustomMenu">
          <a class="xref" href="C1.Win.Ribbon.ContextMenuPopupEventArgs.UseCustomMenu.html#C1_Win_Ribbon_ContextMenuPopupEventArgs_UseCustomMenu">UseCustomMenu</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating to use a custom context menu instead of the standard.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
