using Sandbox.UI.Construct; namespace Sandbox.UI { /// /// A UI control which provides multiple options via a dropdown box. /// [Library( "select" ), Alias( "dropdown" )] public class DropDown : PopupButton { /// /// The icon of an arrow pointing down on the right of the element. /// protected IconPanel DropdownIndicator; /// /// Called when the value has been changed, /// [Parameter] public System.Action ValueChanged { get; set; } /// /// Called just before opening, allows options to be dynamic /// [Parameter] public System.Func> BuildOptions { get; set; } /// /// The options to show on click. You can edit these directly via this property. /// [Parameter] public List