Skip to main content
All docs
V26.1
  • ListBoxField Members

    A list box form field in a PDF document.

    Constructors

    Name Description
    ListBoxField(String) Initializes a new instance of the ListBoxField class with specified settings.

    Properties

    Name Description
    Actions Gets or sets actions associated with the form field. Inherited from FormField.
    AlternateName Gets or sets an alternate name of the form field. Inherited from FormField.
    Items Gets or sets the list of items in the choice field. Inherited from ChoiceField.
    MultiSelect Gets or sets whether to enable users to select multiple items in the list box.
    Name Gets or sets the name of the form field. Inherited from FormField.
    ReadOnly Gets or sets a value that indicates whether the form field is read-only. Inherited from FormField.
    Required Gets or sets a value that indicates whether the form field is required. Inherited from FormField.
    SelectedValues Gets or sets the list of export values of the selected items in the list box.
    TopIndex Gets or sets the index of the first visible item in the list box.
    Value Gets or sets the value of the choice field. Inherited from ChoiceField.

    Methods

    Name Description
    AddItem(String, String) Adds an item with the specified display and export values to the list box field.
    AddItem(String) Adds an item to the list box field.
    ClearSelection() Clears the list box selection.
    Clone() Creates a copy of the FormField object. Inherited from FormField.
    Clone(DocumentCloneContext) Creates a copy of the FormField object. Inherited from FormField.
    Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
    Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
    GetHashCode() Serves as the default hash function. Inherited from Object.
    GetType() Gets the Type of the current instance. Inherited from Object.
    MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
    ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
    SelectValue(String) Selects an item with the specified export value in the list box field.
    SetSelected(Int32, Boolean) Sets the selection state of an item in the list box field.
    ToString() Returns a string that represents the current object. Inherited from Object.
    See Also