# TextFieldCollectionBase.CanAdd Property

> Gets a value indicating whether a new text field can be inserted at the current input position. It is true if a text field can be inserted, otherwise it is false. Text Control cannot insert a text field inside of another text field.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.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 for Windows Forms > Reference > TXTextControl > TextFieldCollectionBase.CanAdd Property
- **353 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textfieldcollectionbase/canadd-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textfieldcollectionbase/canadd-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textfieldcollectionbase/canadd-property/llms-full.txt

---

### Description

Gets a value indicating whether a new text field can be inserted at the current input position. It is true if a text field can be inserted, otherwise it is false. Text Control cannot insert a text field inside of another text field.

### Syntax

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

```vbnet
Public ReadOnly Property CanAdd As Boolean
```

### Examples

The following example checks the can add state before recording the object's current status.

```csharp
if (textFieldCollectionBase.CanAdd)
{
    Console.WriteLine("Text Field Collection Base is ready for this operation.");
}
```

```vbnet
If textFieldCollectionBase.CanAdd Then
    Console.WriteLine("Text Field Collection Base is ready for this operation.")
End If
```

### Limitations

Read only.

### See Also

Text Fields and Hypertext Links - Inserting and Deleting Text Fields.

---

## Nearby

- **Previous:** [TextFieldCollectionBase Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textfieldcollectionbase/llms-full.txt)
- **Next:** [TextFieldCollectionBase.Count Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textfieldcollectionbase/count-property/llms-full.txt)
