# SuggestionList Class

> 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.

- **Product:** TX Spell .NET for Windows Forms
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 3.0
- **Namespace:** `TXTextControl.Proofing`
- **Package:** `TXTextControl.TXSpell.WinForms.SDK` (assembly `TXSpell.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXSpell.Windows.Forms.dll` from the setup
- **Path:** TX Spell .NET for Windows Forms > Reference > TXTextControl.Proofing > SuggestionList Class
- **515 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/suggestionlist/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/suggestionlist/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/suggestionlist/llms-full.txt

---

### 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](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/suggestionlist-property/llms-full.txt).

### Syntax

```csharp
public sealed class SuggestionList
```

```vbnet
Public NotInheritable Class SuggestionList
```

### Examples

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.

```csharp
Console.WriteLine($"Max Suggestions: {suggestionList.MaxSuggestions}");
Console.WriteLine("Suggestion List is ready for use.");
```

```vbnet
Console.WriteLine($"Max Suggestions: {suggestionList.MaxSuggestions}")
Console.WriteLine("Suggestion List is ready for use.")
```

---

## In This Section

- [SuggestionList.IsNoSuggestionsItemEnabled Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/suggestionlist/isnosuggestionsitemenabled-property/llms-full.txt): 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.
- [SuggestionList.MaxSuggestions Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/suggestionlist/maxsuggestions-property/llms-full.txt): Gets or sets the maximum number of suggestions that has to be determined. The default value is 10.

---

## Nearby

- **Previous:** [SuggestionDictionaryComboBox.SuggestionDictionary Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/suggestiondictionarycombobox/suggestiondictionary-property/llms-full.txt)
- **Next:** [SuggestionList.IsNoSuggestionsItemEnabled Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/suggestionlist/isnosuggestionsitemenabled-property/llms-full.txt)
