[]
Base class for choice fields: ComboBox and ListBox.
public abstract class ChoiceField : Field, IPdfDict, IOwnedObject, ActionHide.ILinkedObject, ActionFieldsBase.IFieldDef
Initializes a new instance of the ChoiceField class.
public ChoiceField()
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.
public bool CommitOnSelChange { get; set; }
Gets or sets the index of item selected by default.
public int DefaultSelectedIndex { get; set; }
Gets the list of items displayed in field.
public ObservableCollectionEx<ChoiceFieldItem> Items { get; }
Gets or sets the index of selected item.
public int SelectedIndex { get; set; }
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
public bool Sort { get; set; }
Gets or sets a value indicating whether the text entered in the field is spell-checked.
public bool SpellCheck { get; set; }
Gets the WidgetAnnotation defining view properties of the text field.
public WidgetAnnotation Widget { get; }