# HyphenateWordEventArgs.MaxDividePos Property

> Gets the maximum dividing position. For example, when this value is 3, the first 3 characters of the word is the maximum part of the word which fit on the line.

- **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.MaxDividePos Property
- **327 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/hyphenatewordeventargs/maxdividepos-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/hyphenatewordeventargs/maxdividepos-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/hyphenatewordeventargs/maxdividepos-property/llms-full.txt

---

### Description

Gets the maximum dividing position. For example, when this value is 3, the first 3 characters of the word is the maximum part of the word which fit on the line.

### Syntax

```csharp
public int MaxDividePos { get; }
```

```vbnet
Public ReadOnly Property MaxDividePos As Integer
```

### Examples

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

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

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

---

## Nearby

- **Previous:** [HyphenateWordEventArgs.DividePos Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/hyphenatewordeventargs/dividepos-property/llms-full.txt)
- **Next:** [HyphenateWordEventArgs.Word Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/hyphenatewordeventargs/word-property/llms-full.txt)
