Skip to content

ComboBoxFormInput Class

  • ComboBoxFormInput
  • class Esri::ArcGISRuntime::ComboBoxFormInput

    A user interface that displays a list of values in a drop-down. More...

    Header: #include <ComboBoxFormInput.h>
    Since: Esri::ArcGISRuntime 200.8
    Inherits: Esri::ArcGISRuntime::FormInput

    Public Functions

    virtual ~ComboBoxFormInput() override
    QList<Esri::ArcGISRuntime::CodedValue> codedValues() const
    QString noValueLabel() const
    Esri::ArcGISRuntime::FormInputNoValueOption noValueOption() const

    Detailed Description

    The input allows the user to enter text to filter the values displayed in the list. Only one value can be selected at a time. Combo box options are derived from the available coded values for the associated field in the table.

    Member Function Documentation

    [override virtual noexcept] ComboBoxFormInput::~ComboBoxFormInput()

    Destructor.

    QList<Esri::ArcGISRuntime::CodedValue> ComboBoxFormInput::codedValues() const

    Returns the list of possible values for the input.

    QString ComboBoxFormInput::noValueLabel() const

    Returns the text used to represent a empty value.

    Esri::ArcGISRuntime::FormInputNoValueOption ComboBoxFormInput::noValueOption() const

    Determines and returns true whether an option to set a empty value is shown.

    This property only applies to fields that support empty values. If not provided, the default value is show.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.