# TextControl.DocumentTargetMarkers Property

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

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

---

### Description

Gets or sets a value indicating that markers for hypertext targets are shown or not. This is a dependency property.

### Syntax

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

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

### Examples

The following example uses `TextControl.DocumentTargetMarkers` to configure document target markers as part of the text control workflow. The configured value is checked before the workflow continues.

```csharp
textControl.DocumentTargetMarkers = true;
if (textControl.DocumentTargetMarkers)
{
    Console.WriteLine("Text Control: Document Target Markers is enabled.");
}
```

```vbnet
textControl.DocumentTargetMarkers = True
If textControl.DocumentTargetMarkers Then
    Console.WriteLine("Text Control: Document Target Markers is enabled.")
End If
```

---

## Nearby

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