s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
published_with_changes
Changes
Release-by-release changelog
Games
Browse Games
Discover Games
gamejams
live now
Game Jam III
Ends
Fri 25 Sep
Theme
One More Round
The jam is running. Build something, or play the entries.
£
50,000
prizepool
View the jam
Workshop
Playable
sports_esports
Games
Standalone games and gamemodes
Assets
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
apps
Everything
Every asset type in one list
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Classes
DropDown
chevron_left
Classes
class
DropDown
Constructors
functions
DropDown
Fields
lock
DropdownIndicator
Properties
data_object
BuildOptions
data_object
Options
data_object
Selected
data_object
Value
data_object
ValueChanged
Methods
lock
OnEscape
lock
OnParametersSet
functions
Open
lock
Select
DropDown
A UI control which provides multiple options via a dropdown box.
class
Sandbox.UI
.
account_tree
extends
PopupButton
Sandbox.Engine
build
Constructors
1
DropDown
(
)
crop_din
Fields
1
DropdownIndicator
IconPanel
The icon of an arrow pointing down on the right of the element.
data_object
Properties
5
BuildOptions
Func`1
Called just before opening, allows options to be dynamic
Options
List`1
The options to show on click. You can edit these directly via this property.
Selected
Option
The currently selected option.
Value
object
The current string value. This is useful to have if Selected is null.
ValueChanged
Action`1
Called when the value has been changed,
functions
Methods
4
OnEscape
(
e
)
OnParametersSet
(
)
Open
(
)
Open the dropdown.
Select
(
option
,
triggerChange
)
Select an option.
Inheritance
Panel
Button
PopupButton
DropDown
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.