IsNoSuggestionsItemEnabled Property
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.asTXSpell. WinForms. SDK TXSpell.from the private NuGet feed or Text Control Offline Packagesdll
- Also in
TXTextControl.asTXSpell. Core. SDK 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; }Public Property IsNoSuggestionsItemEnabled As BooleanExamples
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.");
}suggestionsHandler.IsNoSuggestionsItemEnabled = True
If suggestionsHandler.IsNoSuggestionsItemEnabled Then
Console.WriteLine("Suggestions Handler: Is No Suggestions Item Enabled is enabled.")
End If