MaxSuggestions Property
- Namespace
TXTextControl.WPF. Proofing
- Package
TXTextControl.asTXSpell. WPF. SDK TXSpell.from the private NuGet feed or Text Control Offline PackagesWPF. 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 SuggestionList.MaxSuggestions to configure max suggestions as part of the suggestion list workflow. The configured value is checked before the workflow continues.
suggestionList.MaxSuggestions = 10;
Console.WriteLine($"Max Suggestions used by Suggestion List: {suggestionList.MaxSuggestions}");suggestionList.MaxSuggestions = 10
Console.WriteLine($"Max Suggestions used by Suggestion List: {suggestionList.MaxSuggestions}")