DocumentTarget Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets an object that represents the document target which causes the event. It is of the type DocumentTarget.
Syntax
public DocumentTarget DocumentTarget { get; }Public ReadOnly Property DocumentTarget As DocumentTargetExamples
The following example uses DocumentTargetEventArgs.DocumentTarget while handling DocumentTargetCreated.
textControl.DocumentTargetCreated += (_, e) =>
{
e.DocumentTarget?.ScrollTo();
};AddHandler textControl.DocumentTargetCreated,
Sub(sender, e)
If e.DocumentTarget IsNot Nothing Then e.DocumentTarget.ScrollTo()
End SubLimitations
Read only.