DropdownField
class in UnityEngine.UIElements · UnityEngine.UIElementsModule · inherits from PopupField<string>
Constructors 1
DropdownField()DropdownField(string? label)DropdownField(List<string> choices, string defaultValue, Func<string, string>? formatSelectedValueCallback = null, Func<string, string>? formatListItemCallback = null)DropdownField(string? label, List<string> choices, string defaultValue, Func<string, string>? formatSelectedValueCallback = null, Func<string, string>? formatListItemCallback = null)DropdownField(List<string> choices, int defaultIndex, Func<string, string>? formatSelectedValueCallback = null, Func<string, string>? formatListItemCallback = null)DropdownField(string? label, List<string> choices, int defaultIndex, Func<string, string>? formatSelectedValueCallback = null, Func<string, string>? formatListItemCallback = null)Checked against Unity
Conformance scenarios that exercise it, recorded in Unity and compared event by event.