FormDropDown Class
- Namespace
TXTextControl.DocumentServer. Fields
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. Core. SDK
- Assembly
TXDocumentServer.Core. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. Core. SDK TXDocumentServer.from the setup.dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXDocumentServer.dll
- Inherits
- Field
Adapter - Form
Field Adapter - Form
Drop Down
- Field
Description
The FormDropDown class implements the MS Word specific FORMDROPDOWN field. This field must be used in combination with an ApplicationField that should be modified using this adapter.
Syntax
public class FormDropDown : FormFieldAdapterPublic Class FormDropDown
Inherits FormFieldAdapterExamples
The following example creates a Form Drop Down instance and configures its help text setting for a document workflow.
TXTextControl.DocumentServer.Fields.FormDropDown formDropDown = new();
formDropDown.HelpText = "Quarterly results";Dim formDropDown As New TXTextControl.DocumentServer.Fields.FormDropDown()
formDropDown.HelpText = "Quarterly results"Members
Constructors
| Constructor | Description |
|---|---|
| FormDropDown | Initializes a new instance of the FormDropDown class. |
| FormFieldAdapter | Initializes a new instance of the FormFieldAdapter class. (Inherited from FormFieldAdapter.) |
Properties
| Property | Description |
|---|---|
| Bounds | Gets and sets the bounds of the form field. The rectangle's location and the size are specified in twips. (Inherited from FormFieldAdapter.) |
| CalcOnExit | Gets or sets the CalcOnExit property of the field. (Inherited from FormFieldAdapter.) |
| Enabled | Specifies whether the field is enabled or not. (Inherited from FormFieldAdapter.) |
| Font | Gets and sets the font of the form field. (Inherited from FormFieldAdapter.) |
| HelpText | Gets and sets the help text of the field. (Inherited from FormFieldAdapter.) |
| ListEntries | Gets and sets the list entries of the drop down field. |
| Name | Gets and sets the name of the form field. (Inherited from FormFieldAdapter.) |
| StatusText | Gets and sets the status text of the field. (Inherited from FormFieldAdapter.) |
| Text | Gets and sets the text of the form field. (Inherited from FormFieldAdapter.) |
Fields
| Field | Description |
|---|---|
| TYPE_NAME | Not described in the reference. public const string TYPE_NAME = "FORMDROPDOWN"; |