# HyphenateWordEventArgs.DividePos Property

> Gets or sets the position at which the word should be divided. When a spellchecker has been connected with the SpellChecker property, this value has been calculated through the spellchecker. Otherwise it is zero. A TextControl uses this position to divide the word, when it is less or equal then MaxDividePos.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 20.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl > HyphenateWordEventArgs.DividePos Property
- **403 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/hyphenatewordeventargs/dividepos-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/hyphenatewordeventargs/dividepos-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/hyphenatewordeventargs/dividepos-property/llms-full.txt

---

### Description

Gets or sets the position at which the word should be divided. When a spellchecker has been connected with the [SpellChecker](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/spellchecker-property/llms-full.txt) property, this value has been calculated through the spellchecker. Otherwise it is zero. A [TextControl](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/llms-full.txt) uses this position to divide the word, when it is less or equal then [MaxDividePos](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/hyphenatewordeventargs/maxdividepos-property/llms-full.txt).

### Syntax

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

```vbnet
Public Property DividePos As Integer
```

### Examples

The following example uses `HyphenateWordEventArgs.DividePos` while handling `HyphenateWord`.

```csharp
textControl.HyphenateWord += (_, e) =>
{
    Console.WriteLine($"Divide Pos: {e.DividePos}");
};
```

```vbnet
AddHandler textControl.HyphenateWord,
    Sub(sender, e)
        Console.WriteLine($"Divide Pos: {e.DividePos}")
    End Sub
```

---

## Nearby

- **Previous:** [HyphenateWordEventArgs.Culture Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/hyphenatewordeventargs/culture-property/llms-full.txt)
- **Next:** [HyphenateWordEventArgs.MaxDividePos Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/hyphenatewordeventargs/maxdividepos-property/llms-full.txt)
