TX Text Control .NET Server

DocumentTargetMarkers Property

Property|Introduced in 23.0
Namespace
TXTextControl.Web.MVC
Package
TXTextControl.Web as TXTextControl.Web.DocumentEditor.dll from nuget.org, the private NuGet feed or Text Control Offline Packages

Description

Specifies 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.");
}