# TextControl.DocumentTargetMarkers Property

> Specifies or returns a value indicating if markers for hypertext targets are shown in the editor or not.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 22.0
- **Namespace:** `TXTextControl.Web`
- **Assembly:** `TXTextControl.Web.dll`, which the TX Text Control .NET Server setup installs, for .NET Framework; in no NuGet package
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.Web > TextControl.DocumentTargetMarkers Property
- **390 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/textcontrol/documenttargetmarkers-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/textcontrol/documenttargetmarkers-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/textcontrol/documenttargetmarkers-property/llms-full.txt

---

### Description

Specifies or returns a value indicating if markers for hypertext targets are shown in the editor or not.

### Syntax

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

```vbnet
Public Property DocumentTargetMarkers() As Boolean
```

### Examples

In the current ASP.NET Core integration, `DocumentTargetMarkers` is configured through `TextControlSettings`. The following example sets it while creating the editor configuration.

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

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

---

## Nearby

- **Previous:** [TextControl.Dock Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/textcontrol/dock-property/llms-full.txt)
- **Next:** [TextControl.EditMode Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/textcontrol/editmode-property/llms-full.txt)
