TX Text Control .NET for Windows Forms

DocumentTargetMarkers Property

Property|Introduced in 13.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

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

Syntax

public bool DocumentTargetMarkers { get; set; }

Examples

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

<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.

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