# TXSpellChecker.HyphenationListsDirectoryPath Property

> Gets or sets the path to the default hyphenation lists folder. The default value is "(Auto)" that determines the HyphenationLists 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 Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 9.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 > TXSpellChecker.HyphenationListsDirectoryPath Property
- **497 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/hyphenationlistsdirectorypath-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/hyphenationlistsdirectorypath-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/hyphenationlistsdirectorypath-property/llms-full.txt

---

### Description

Gets or sets the path to the default hyphenation lists folder. The default value is "(Auto)" that determines the HyphenationLists 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 HyphenationListsDirectoryPath { get; set; }
```

```vbnet
Public Property HyphenationListsDirectoryPath As String
```

### Examples

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

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

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

---

## Nearby

- **Previous:** [TXSpellChecker.HyphenationLists Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/hyphenationlists-property/llms-full.txt)
- **Next:** [TXSpellChecker.IgnoreCase Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/ignorecase-property/llms-full.txt)
