TX Text Control .NET Server

DocumentTargetMarkers Property

Property|Introduced in 22.0
Namespace
TXTextControl.Web
Package
None: the TX Text Control .NET Server setup installs it, for .NET Framework.
Assembly
TXTextControl.Web.dll

Description

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

Syntax

public bool DocumentTargetMarkers { get; set; }

Examples

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

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