# Dictionary.DisplayName Property

> Gets or sets the text that is displayed for the dictionary inside the options dialog or the SpellCheckDialog's SuggestionDictionaryComboBox. The default value is the name of the dictionary.

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

---

### Description

Gets or sets the text that is displayed for the [dictionary](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/dictionary/llms-full.txt) inside the [options dialog](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/optionsdialog-method/llms-full.txt) or the [SpellCheckDialog's](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/llms-full.txt) [SuggestionDictionaryComboBox](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/suggestiondictionarycombobox/llms-full.txt). The default value is the [name](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/dictionary/name-property/llms-full.txt) of the dictionary.

### Syntax

```csharp
public string DisplayName { get; set; }
```

```vbnet
Public Property DisplayName As String
```

### Examples

The following example uses `Dictionary.DisplayName` to configure display name as part of the dictionary workflow. The configured value is checked before the workflow continues.

```csharp
dictionary.DisplayName = "CustomerName";
if (!string.IsNullOrWhiteSpace(dictionary.DisplayName))
{
    Console.WriteLine($"Display Name: {dictionary.DisplayName}");
}
```

```vbnet
dictionary.DisplayName = "CustomerName"
If Not String.IsNullOrWhiteSpace(dictionary.DisplayName) Then
    Console.WriteLine($"Display Name: {dictionary.DisplayName}")
End If
```

---

## Nearby

- **Previous:** [Dictionary.DictionaryEncoding Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/dictionary/dictionaryencoding-property/llms-full.txt)
- **Next:** [Dictionary.IsGetSuggestionsEnabled Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/dictionary/isgetsuggestionsenabled-property/llms-full.txt)
