Class Dropdown
Dropdown UI element.
Inheritance
Dropdown
Implements
Inherited Members
VisualElement.ExecuteDefaultAction(EventBase)
VisualElement.Focus()
VisualElement.Overlaps(Rect)
VisualElement.ToString()
VisualElement.GetFirstOfType<T>()
VisualElement.GetFirstAncestorOfType<T>()
VisualElement.canGrabFocus
VisualElement.focusController
VisualElement.cacheAsBitmap
CallbackEventHandler.RegisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.RegisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TUserArgsType, TrickleDown)
CallbackEventHandler.UnregisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.UnregisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TrickleDown)
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class Dropdown : Picker<DropdownItem, DropdownItem>, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, INotifyValueChanged<IEnumerable<int>>, ISizeableElement, IPressable
Constructors
Name | Description |
---|---|
Dropdown() | Default constructor. |
Dropdown(IList, Action<DropdownItem, int>, Action<DropdownItem, IEnumerable<int>>, int[]) | Construct a Dropdown UI element with a provided dynamic collection of items. |
Fields
Name | Description |
---|---|
ussClassName | The Dropdown main styling class. |
Properties
Name | Description |
---|---|
bindTitle | A method that will be called to bind the title. |
Methods
Name | Description |
---|---|
ApplyMultiSelectionMessage(LocalizedTextElement, int) | Apply the Picker localized multi selection message. |