API ReferenceSandbox.UI

DropDownclass

A UI control which provides multiple options via a dropdown box.

objectPopupButtonDropDown
Namespace
Sandbox.UI
Assembly
Base Library
Declaration
public class Sandbox.UI.DropDown : Sandbox.UI.PopupButton

Constructors4

Showing 4 constructors

Methods10

Showing 10 methods

Properties10

Showing 10 properties

On this page

Constructorspublic DropDown()public DropDown()public DropDown(Sandbox.UI.Panel parent)public DropDown(Sandbox.UI.Panel parent)Methodsprotected virtual System.Void OnEscape(Sandbox.UI.PanelEvent e)protected virtual System.Void OnEscape(Sandbox.UI.PanelEvent e)protected virtual System.Void OnParametersSet()protected virtual System.Void OnParametersSet()public virtual System.Void Open()public virtual System.Void Open()protected virtual System.Void Select(Sandbox.UI.Option option, System.Boolean triggerChange = True)protected virtual System.Void Select(Sandbox.UI.Option option, System.Boolean triggerChange = True)protected virtual System.Void Select(System.String value, System.Boolean triggerChange = True)protected virtual System.Void Select(System.String value, System.Boolean triggerChange = True)Propertiespublic System.Func`1<System.Collections.Generic.List`1<Sandbox.UI.Option>> Sandbox.UI.DropDown.BuildOptions { get; set; }public System.Func`1<System.Collections.Generic.List`1<Sandbox.UI.Option>> Sandbox.UI.DropDown.BuildOptions { get; set; }public System.Collections.Generic.List`1<Sandbox.UI.Option> Sandbox.UI.DropDown.Options { get; set; }public System.Collections.Generic.List`1<Sandbox.UI.Option> Sandbox.UI.DropDown.Options { get; set; }public Sandbox.UI.Option Sandbox.UI.DropDown.Selected { get; set; }public Sandbox.UI.Option Sandbox.UI.DropDown.Selected { get; set; }public virtual System.Object Sandbox.UI.DropDown.Value { get; set; }public virtual System.Object Sandbox.UI.DropDown.Value { get; set; }public System.Action`1<System.String> Sandbox.UI.DropDown.ValueChanged { get; set; }public System.Action`1<System.String> Sandbox.UI.DropDown.ValueChanged { get; set; }Metadata