# SuggestionList.MaxSuggestions Property

> Gets or sets the maximum number of suggestions that has to be determined. The default value is 10.

- **Product:** TX Spell .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **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.MaxSuggestions Property
- **340 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/suggestionlist/maxsuggestions-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/suggestionlist/maxsuggestions-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/suggestionlist/maxsuggestions-property/llms-full.txt

---

### Description

Gets or sets the maximum number of [suggestions](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/suggestions-property/llms-full.txt) that has to be determined. The default value is 10.

### Syntax

```csharp
public int MaxSuggestions { get; set; }
```

```vbnet
Public Property MaxSuggestions As Integer
```

### Examples

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.

```csharp
suggestionList.MaxSuggestions = 10;
Console.WriteLine($"Max Suggestions used by Suggestion List: {suggestionList.MaxSuggestions}");
```

```vbnet
suggestionList.MaxSuggestions = 10
Console.WriteLine($"Max Suggestions used by Suggestion List: {suggestionList.MaxSuggestions}")
```

---

## Nearby

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