TX Text Control .NET for WPF

FormListBox Constructor

Constructor|Introduced in 29.0
Namespace
TXTextControl.DocumentServer.PDF.AcroForms
Package
TXTextControl.TextControl.WPF.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Initializes a new instance of the FormListBox class.

Initializes a new instance of the FormListBox class based on a given FormChoiceField.

Syntax

public FormListBox(FormChoiceField parent);

Parameters

ParameterDescription
parent

Specifies the parent FormChoiceField.

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;