MaxSuggestions Property
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.asTXSpell. WPF. SDK TXSpell.from the private NuGet feed or Text Control Offline Packagesdll
- Also in
TXTextControl.asTXSpell. Core. SDK TXSpell.dll
Description
Gets or sets the maximum number of suggestions that has to be determined. The default value is 10.
Syntax
public int MaxSuggestions { get; set; }Public Property MaxSuggestions As IntegerExamples
The following example uses SuggestionsHandler.MaxSuggestions to configure max suggestions as part of the suggestions handler workflow. The configured value is checked before the workflow continues.
suggestionsHandler.MaxSuggestions = 10;
Console.WriteLine($"Max Suggestions used by Suggestions Handler: {suggestionsHandler.MaxSuggestions}");suggestionsHandler.MaxSuggestions = 10
Console.WriteLine($"Max Suggestions used by Suggestions Handler: {suggestionsHandler.MaxSuggestions}")