TX Text Control .NET for WPF

DocumentTarget Property

Property|Introduced in 28.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets an object that represents the document target which causes the event. It is of the type DocumentTarget.

Syntax

public DocumentTarget DocumentTarget { get; }

Examples

The following example uses DocumentTargetEventArgs.DocumentTarget while handling DocumentTargetCreated.

textControl.DocumentTargetCreated += (_, e) =>
{
    e.DocumentTarget?.ScrollTo();
};

Limitations

Read only.