SpellCheckContextMenuStrip Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Specifies the context menu which is used when the end-user right-clicks a misspelled word. A context menu is only available when a spell checking component has been connected with the SpellChecker property.
Syntax
public string SpellCheckContextMenuStrip { get; set; }Public Property SpellCheckContextMenuStrip As StringMembers
| Value | Description |
|---|---|
| (none) | No context menu is displayed when the end-user right-clicks a misspelled word. |
| (Default) | The TXTextControl built-in context menu is displayed when the end-user right-clicks a misspelled word. |
| other | The property value must be the name of a user-defined context menu. |
Examples
The following example uses TextControl.SpellCheckContextMenuStrip to configure spell check context menu strip as part of the text control workflow. The change is then applied to the active document or user interface.
textControl.SpellCheckContextMenuStrip = "Quarterly results";
textControl.Update();textControl.SpellCheckContextMenuStrip = "Quarterly results"
textControl.Update()