[]
Base class for choice fields: ComboBox and ListBox.
public abstract class ChoiceField : Field, IPdfDict, IOwnedObject, ActionHide.ILinkedObject, ActionFieldsBase.IFieldDef
Public MustInherit Class ChoiceField
Inherits Field
Implements IPdfDict, IOwnedObject, ActionHide.ILinkedObject, ActionFieldsBase.IFieldDef
Name | Description |
---|---|
ChoiceField() | Initializes a new instance of the ChoiceField class. |
Name | Description |
---|---|
CommitOnSelChange | Gets or sets a value indicating whether the new value is committed as soon as a selection is made with the pointing device. This option enables applications to perform an action once a selection is made, without requiring the user to exit the field. If false, the new value is not committed until the user exits the field. |
DefaultSelectedIndex | Gets or sets the index of item selected by default. |
Items | Gets the list of items displayed in field. |
SelectedIndex | Gets or sets the index of selected item. |
Sort | Gets or sets a value indicating whether the field’s option items should be sorted alphabetically. This flag is intended for use by form authoring tools, not by PDF viewer applications. Viewers should simply display the options in the order in which they occur in the Opt array |
SpellCheck | Gets or sets a value indicating whether the text entered in the field is spell-checked. |
Widget | Gets the WidgetAnnotation defining view properties of the text field. |