.. _DropDownList.add: ================================================ DropDownList.add ================================================ :ref:`ListItem` **add** (:ref:`String` **type**, :ref:`String` **text**) Parameters ---------- +----------+------------------------------------------+ | **type** | The type of the child element. | +----------+------------------------------------------+ | **text** | The localizable text label for the item. | +----------+------------------------------------------+ Description ----------- Adds an item or separator to the choices in this list. Returns the item control object for type="item", or null for type="separator".