An instance of the Text
public class TextFieldPublic Class TextFieldThe following example uses the Text
TXTextControl.TextField field = new TXTextControl.TextField("Product");
field.Name = "product";
textControl1.TextFields.Add(field);
foreach (TXTextControl.TextField curfield in textControl1.TextFields)
{
if (curfield.Name == "product")
curfield.Text = "TX Text Control";
}Dim field As TXTextControl.TextField = New TXTextControl.TextField("Product")
field.Name = "product"
TextControl1.TextFields.Add(field)
For Each curField As TXTextControl.TextField In TextControl1.TextFields
If curField.Name = "product" Then
curField.Text = "TX Text Control"
End If
Next| Constructor | Description |
|---|---|
| Text |
Creates a new instance of the Text |
| Method | Description |
|---|---|
| Scroll |
Sets the current input position to the beginning of a text field and scrolls it into the visible part of the document. |
| Property | Description |
|---|---|
| Bounds | Gets the bounding rectangle of a text field. |
| Contains |
Returns true, if the Textfield contains the current text input position. |
| Deleteable | Specifies whether a text field can be deleted by the end-user while a TX Text Control document is being edited. |
| Double |
Specifies whether a Text |
| Doubled |
Specifies whether a text field has a doubled input position in front of its first character and behind its last character. |
| Editable | Specifies whether the text of a text field can be changed by the end-user while a TX Text Control document is being edited. |
| Formatting |
Gets the formatting rectangle of a text field. |
| Highlight |
Gets or sets the highlight color for the text field. |
| Highlight |
Gets or sets a value indicating when the text field is highlighted. |
| ID | Gets or sets an identifier for a text field. |
| Is |
Specifies whether a text field's text is checked on misspelled words. |
| Length | Gets the number of characters in a text field. |
| Name | Relates a user-defined name to a text field. |
| Show |
Obsolete. |
| Start | Gets the first character position (one-based) of a text field. |
| Text | Returns or sets the text which is contained within a text field. |