TX Text Control .NET for Windows Forms

ContainsInputPosition Property

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

Description

Returns true, if the target's position is the same as the current text input position.

Syntax

public bool ContainsInputPosition { get; }

Examples

The following example creates a named destination for an internal document link by using DocumentTarget.ContainsInputPosition.

DocumentTarget documentTarget = new("CustomerDetails");
textControl.DocumentTargets.Add(documentTarget);

if (documentTarget.ContainsInputPosition)
{
    Console.WriteLine("Document Target is ready for this operation.");
}

Limitations

Read only.