# TextControl.DocumentTargetMarkers Property

> Gets or sets a value indicating that markers for hypertext targets are shown or not.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 13.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Windows.Forms.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl > TextControl.DocumentTargetMarkers Property
- **341 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/documenttargetmarkers-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/documenttargetmarkers-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/documenttargetmarkers-property/llms-full.txt

---

### Description

Gets or sets a value indicating that markers for hypertext targets are shown or not.

### Syntax

```csharp
public bool DocumentTargetMarkers { get; set; }
```

```vbnet
Public Property DocumentTargetMarkers As Boolean
```

### Examples

The following XAML example shows how to bind the DocumentTargetMarkers property to a check box.

```plaintext
<CheckBox
   Content="Show document target markers"
   IsChecked="{Binding ElementName=textControl1, Path=DocumentTargetMarkers}" />
```

The following example uses `TextControl.DocumentTargetMarkers` to configure document target markers as part of the text control workflow. The change is then applied to the active document or user interface.

```csharp
textControl.DocumentTargetMarkers = true;
textControl.Update();
```

```vbnet
textControl.DocumentTargetMarkers = True
textControl.Update()
```

---

## Nearby

- **Previous:** [TextControl.DocumentTargetDeleted Event](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/documenttargetdeleted-event/llms-full.txt)
- **Next:** [TextControl.DocumentTargets Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/documenttargets-property/llms-full.txt)
