# C1.WPF.ISpellChecker.ShowSuggestionsMenu

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_ISpellChecker_ShowSuggestionsMenu_" data-uid="C1.WPF.ISpellChecker.ShowSuggestionsMenu*">ShowSuggestionsMenu Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_ISpellChecker_ShowSuggestionsMenu_" data-uid="C1.WPF.ISpellChecker.ShowSuggestionsMenu*"></a>
<h4 id="C1_WPF_ISpellChecker_ShowSuggestionsMenu_System_Object_System_Windows_Point_System_String_System_Action_System_String__" data-uid="C1.WPF.ISpellChecker.ShowSuggestionsMenu(System.Object,System.Windows.Point,System.String,System.Action{System.String})">ShowSuggestionsMenu(object, Point, string, Action&lt;string&gt;)</h4>
<div class="markdown level1 summary"><p>Shows a context menu with suggestions for a misspelled word.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">void ShowSuggestionsMenu(object editor, Point position, string word, Action&lt;string&gt; correctCallback)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Sub ShowSuggestionsMenu(editor As Object, position As Point, word As String, correctCallback As Action(Of String))</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">editor</span></td>
      <td><p>The editor control whose content is being spell checked.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.point">Point</a></td>
      <td><span class="parametername">position</span></td>
      <td><p>The position in absolute plug-in coordinates where the menu should be open.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">word</span></td>
      <td><p>The misspelled word.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;</td>
      <td><span class="parametername">correctCallback</span></td>
      <td><p>Callback called when a suggested correction is chosen.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
