s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejamslive now

Game Jam III

Ends Fri 25 Sep
ThemeOne More Round

The jam is running. Build something, or play the entries.

£50,000
prizepool
View the jam
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Classes
DropDown
chevron_left Classes
class
DropDown

Constructors

functionsDropDown

Fields

lockDropdownIndicator

Properties

data_objectBuildOptionsdata_objectOptionsdata_objectSelecteddata_objectValuedata_objectValueChanged

Methods

lockOnEscapelockOnParametersSetfunctionsOpenlockSelect
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.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter