TX Text Control .NET for Windows Forms

SpellCheckContextMenuStrip Property

Property|Introduced in 17.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

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; }

Members

ValueDescription
(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.
otherThe 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();