# DocumentTarget.ContainsInputPosition Property

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

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 22.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl > DocumentTarget.ContainsInputPosition Property
- **428 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documenttarget/containsinputposition-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documenttarget/containsinputposition-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documenttarget/containsinputposition-property/llms-full.txt

---

### Description

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

### Syntax

```csharp
public bool ContainsInputPosition { get; }
```

```vbnet
Public ReadOnly Property ContainsInputPosition As Boolean
```

### Examples

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

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

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

```vbnet
Dim documentTarget As New DocumentTarget("CustomerDetails")
textControl.DocumentTargets.Add(documentTarget)

If documentTarget.ContainsInputPosition Then
    Console.WriteLine("Document Target is ready for this operation.")
End If
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [DocumentTarget Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documenttarget/constructor/llms-full.txt)
- **Next:** [DocumentTarget.Deleteable Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documenttarget/deleteable-property/llms-full.txt)
