TX Text Control .NET for WPF

FormListBox Class

Class|Introduced in 29.0
Namespace
TXTextControl.DocumentServer.PDF.AcroForms
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. FormField
  2. FormChoiceField
  3. FormComboBox
  4. FormListBox

Description

The FormListBox class implements the Adobe PDF AcroForms list box field.

Syntax

public class FormListBox : FormComboBox

Examples

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

TXTextControl.DocumentServer.PDF.AcroForms.FormListBox formListBox = new(new TXTextControl.DocumentServer.PDF.AcroForms.FormChoiceField(new TXTextControl.DocumentServer.PDF.AcroForms.FormField()));
formListBox.CanEdit = true;

Members

Constructors

ConstructorDescription
FormComboBoxInitializes a new instance of the FormComboBox class. (Inherited from AcroForms.FormComboBox.)
FormListBoxInitializes a new instance of the FormListBox class.