![]() | List |
A list box field
public class ListBox : ChoiceField
The ListBox type exposes the following members.
Name | Description | |
---|---|---|
![]() | AllowMultiSelect | Allow multiple items to be selected |
![]() | ChosenItems | The selected choice items Adding to this list results in an error:
Removing items or clearing the list results in an IllegalState error if the form field is marked as read-only, or if it has widgets. |
![]() | DisplayName | User interface name The display name is not directly visible, but a PDF viewer can display this name, e.g., in a tool tip.(Inherited from FieldNode) |
![]() | DoNotExport | Tells whether this field is exported (Inherited from Field) |
![]() | ExportName | The name used when exporting (Inherited from FieldNode) |
![]() | Items | The list of choice items Adding or removing items or clearing the list is not supported.(Inherited from ChoiceField) |
![]() | ReadOnly | Flags this field as read-only (Inherited from Field) |
![]() | Required | Flags this field as mandatory (Inherited from Field) |
![]() | Widgets | This form field's widget annotations (Inherited from Field) |
Name | Description | |
---|---|---|
![]() | AddNewItem |
Creates a new choice item.
The item is automatically added to the choice field's Items.
(Inherited from ChoiceField) |
![]() | AddNewWidget | Create a new widget and add to the form field This method creates a widget for the form field. The widget is automatically added to the field's widgets, but not to any page. This method does not work for radio button form fields; Use AddNewWidget(Rectangle).(Inherited from Field) |
![]() ![]() | Create | Create a list box form field The returned form field object is not yet used, but it is associated with the given target document. |
![]() | Equals | (Inherited from NativeObject) |
![]() | GetHashCode | (Inherited from NativeObject) |