TextFormField Constructor
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Initializes a new instance of the TextFormField class.
Syntax
public TextFormField(int emptyWidth);Public Sub New(emptyWidth As Integer)Parameters
| Parameter | Description |
|---|---|
| emptyWidth | Specifies the horizontal extension, in twips, of the form field, when it is empty. When this parameter is set to 0, a default value is used. |
Examples
The following example adds a customer-name input field to a form.
TextFormField textFormField = new(20) { Name = "CustomerName" };
textControl.FormFields.Add(textFormField);Dim textFormField As New TextFormField(20) With { .Name = "CustomerName" }
textControl.FormFields.Add(textFormField)