# TXSpellChecker.DictionariesDirectoryPath Property

> Gets or sets the path to the default dictionaries folder. The default value is "(Auto)" that determines the Dictionaries directory at the application's root folder or in the \Assembly\ subdirectory in the development machine's TX Spell .NET installation directory.

- **Product:** TX Spell .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 9.0
- **Namespace:** `TXTextControl.WPF.Proofing`
- **Package:** `TXTextControl.TXSpell.WPF.SDK` (assembly `TXSpell.WPF.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXSpell.WPF.dll` from the setup
- **Path:** TX Spell .NET for WPF > Reference > TXTextControl.WPF.Proofing > TXSpellChecker.DictionariesDirectoryPath Property
- **487 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/txspellchecker/dictionariesdirectorypath-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/txspellchecker/dictionariesdirectorypath-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/txspellchecker/dictionariesdirectorypath-property/llms-full.txt

---

### Description

Gets or sets the path to the default dictionaries folder. The default value is "(Auto)" that determines the Dictionaries directory at the application's root folder or in the `\Assembly\` subdirectory in the development machine's TX Spell .NET installation directory.

### Syntax

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

```vbnet
Public Property DictionariesDirectoryPath As String
```

### Examples

The following example uses `TXSpellChecker.DictionariesDirectoryPath` to configure dictionaries directory path as part of the txspell checker workflow. The configured value is checked before the workflow continues.

```csharp
tXSpellChecker.DictionariesDirectoryPath = "document.docx";
if (!string.IsNullOrWhiteSpace(tXSpellChecker.DictionariesDirectoryPath))
{
    Console.WriteLine($"Dictionaries Directory Path: {tXSpellChecker.DictionariesDirectoryPath}");
}
```

```vbnet
tXSpellChecker.DictionariesDirectoryPath = "document.docx"
If Not String.IsNullOrWhiteSpace(tXSpellChecker.DictionariesDirectoryPath) Then
    Console.WriteLine($"Dictionaries Directory Path: {tXSpellChecker.DictionariesDirectoryPath}")
End If
```

---

## Nearby

- **Previous:** [TXSpellChecker.Dictionaries Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/txspellchecker/dictionaries-property/llms-full.txt)
- **Next:** [TXSpellChecker.DictionaryAdded Event](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/txspellchecker/dictionaryadded-event/llms-full.txt)
