TX Text Control .NET for Windows Forms

CanAdd Property

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

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

public bool CanAdd { get; }

Examples

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

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

Limitations

Read only.

See Also

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