TX Spell .NET for WPF

IsNoSuggestionsItemEnabled Property

Property|Introduced in 6.0
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WPF.SDK as TXSpell.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TXSpell.Core.SDK as TXSpell.dll

Description

Gets or sets whether a message is inside the SpellingCorrectionUIProvider's suggestion list that informs the user that no suggestions could be created for the current word to correct. The default value is true.

Syntax

public bool IsNoSuggestionsItemEnabled { get; set; }

Examples

The following example uses SuggestionsHandler.IsNoSuggestionsItemEnabled to configure is no suggestions item enabled as part of the suggestions handler workflow. The configured value is checked before the workflow continues.

suggestionsHandler.IsNoSuggestionsItemEnabled = true;
if (suggestionsHandler.IsNoSuggestionsItemEnabled)
{
    Console.WriteLine("Suggestions Handler: Is No Suggestions Item Enabled is enabled.");
}