class
DropDown
public class DropDown : PopupButton A UI control which provides multiple options via a dropdown box.
Constructors
DropDown() DropDown(Panel parent) Properties
| Name | Type | Description |
|---|---|---|
ValueChanged | Action<String> | Called when the value has been changed, |
BuildOptions | List<Option>> | Called just before opening, allows options to be dynamic |
Options | List<Option> | The options to show on click. You can edit these directly via this property. |
Value virtual | Object | The current string value. This is useful to have if Selected is null. |
Selected | Option | The currently selected option. |
Methods
virtual Void SetPropertyObject(String name, Object value) virtual Void Open() Open the dropdown.