TX Text Control .NET for WPF

FormDropDown Class

Class|Introduced in 15.0
Namespace
TXTextControl.DocumentServer.Fields
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXDocumentServer.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXDocumentServer.dll from the setup.
Inherits
  1. FieldAdapter
  2. FormFieldAdapter
  3. FormDropDown

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 : FormFieldAdapter

Examples

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";

Members

Constructors

ConstructorDescription
FormDropDownInitializes a new instance of the FormDropDown class.
FormFieldAdapterInitializes a new instance of the FormFieldAdapter class. (Inherited from FormFieldAdapter.)

Properties

PropertyDescription
BoundsGets and sets the bounds of the form field. The rectangle's location and the size are specified in twips. (Inherited from FormFieldAdapter.)
CalcOnExitGets or sets the CalcOnExit property of the field. (Inherited from FormFieldAdapter.)
EnabledSpecifies whether the field is enabled or not. (Inherited from FormFieldAdapter.)
FontGets and sets the font of the form field. (Inherited from FormFieldAdapter.)
HelpTextGets and sets the help text of the field. (Inherited from FormFieldAdapter.)
ListEntriesGets and sets the list entries of the drop down field.
NameGets and sets the name of the form field. (Inherited from FormFieldAdapter.)
StatusTextGets and sets the status text of the field. (Inherited from FormFieldAdapter.)
TextGets and sets the text of the form field. (Inherited from FormFieldAdapter.)

Fields

FieldDescription
TYPE_NAMENot described in the reference. public const string TYPE_NAME = "FORMDROPDOWN";