SuggestionList Class
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTXSpell. WinForms. SDK
- Assembly
TXSpell.Windows. Forms. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTXSpell. WinForms. SDK TXSpell.from the setup.Windows. Forms. dll
Description
The SuggestionList class describes and handles attributes of the SpellCheckDialog's suggestion list. An instance of this class is provided by the SpellCheckDialog.SuggestionList property in TX Spell .NET for Windows Forms.
Syntax
public sealed class SuggestionListPublic NotInheritable Class SuggestionListExamples
The following example includes the max suggestions value from a Suggestion List object in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Max Suggestions: {suggestionList.MaxSuggestions}");
Console.WriteLine("Suggestion List is ready for use.");Console.WriteLine($"Max Suggestions: {suggestionList.MaxSuggestions}")
Console.WriteLine("Suggestion List is ready for use.")Members
Properties
| Property | Description |
|---|---|
| IsNoSuggestionsItemEnabled | Gets or sets whether a message is displayed inside the SpellCheckDialog's suggestion list that informs the user that no suggestions could be created for the current incorrect word. The default value is true. |
| MaxSuggestions | Gets or sets the maximum number of suggestions that has to be determined. The default value is 10. |