TX Text Control .NET for Windows Forms

FormComboBox Class

Class|Introduced in 29.0
Namespace
TXTextControl.DocumentServer.PDF.AcroForms
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXDocumentServer.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXDocumentServer.dll from the setup.
Inherits
  1. FormField
  2. FormChoiceField
  3. FormComboBox
Derived
FormListBox

Description

The FormComboBox class implements the Adobe PDF AcroForms combo box field.

Syntax

public class FormComboBox : FormChoiceField

Examples

The following example creates a Form Combo Box instance and configures its can edit setting for a document workflow.

TXTextControl.DocumentServer.PDF.AcroForms.FormComboBox formComboBox = new(new TXTextControl.DocumentServer.PDF.AcroForms.FormChoiceField(new TXTextControl.DocumentServer.PDF.AcroForms.FormField()));
formComboBox.CanEdit = true;

Members

Constructors

ConstructorDescription
FormChoiceFieldInitializes a new instance of the FormChoiceField class. (Inherited from AcroForms.FormChoiceField.)
FormComboBoxInitializes a new instance of the FormComboBox class.

Properties

PropertyDescription
CanEditSpecifies whether a field can be edited. (Inherited from AcroForms.FormChoiceField.)
CommitOnSelChangeSpecifies whether the form is submitted when the selected is changed. (Inherited from AcroForms.FormChoiceField.)
DoNotSpellCheckSpecifies whether spell checking is enabled or not. (Inherited from AcroForms.FormChoiceField.)
MultiSelectSpecifies whether multiple options can be selected. (Inherited from AcroForms.FormChoiceField.)
OptionsGets or sets the option elements of a choice field. (Inherited from AcroForms.FormChoiceField.)
SortSpecifies whether the list can be sorted. (Inherited from AcroForms.FormChoiceField.)
ValueGets or sets the selected value of a choice list. (Inherited from AcroForms.FormChoiceField.)