# GrapeCity.Win.Spread.InputMan.CellType.EditBase.ShowContextMenu

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_ShowContextMenu_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.EditBase.ShowContextMenu*">ShowContextMenu Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_ShowContextMenu_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.EditBase.ShowContextMenu*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_ShowContextMenu" data-uid="GrapeCity.Win.Spread.InputMan.CellType.EditBase.ShowContextMenu">ShowContextMenu</h4>
<div class="markdown level1 summary"><p>Gets or sets a value that indicates whether to pop up the context menu of the control.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool ShowContextMenu { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property ShowContextMenu As Boolean</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.boolean">bool</a></td>
      <td><p><a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> if the context menu is shown when right-clicking the control;
otherwise, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.
<br>
The default is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_ShowContextMenu_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This property determines whether to show the context menu. If the <span class="xref">GrapeCity.Win.Spread.InputMan.CellType.EditBase.ContextMenu</span> or <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.EditBase.ContextMenuStrip.html#GrapeCity_Win_Spread_InputMan_CellType_EditBase_ContextMenuStrip">ContextMenuStrip</a> is not none, this control displays this special menu. If both values are none, the default context menu is displayed.</p>
</div>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_ShowContextMenu_seealso">See Also</h5>
<div class="seealso">
    <div><span class="xref">GrapeCity.Win.Spread.InputMan.CellType.EditBase.ContextMenu</span></div>
    <div><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.EditBase.ContextMenuStrip.html#GrapeCity_Win_Spread_InputMan_CellType_EditBase_ContextMenuStrip">ContextMenuStrip</a></div>
</div>
</div>
