class MAGES::Editor::DropDownSelect¶
Overview¶
A dropdown select button for choosing and instantiating from a list of options. More…
class DropDownSelect: public VisualElement { public: // classes class UxmlFactory; // properties ItemConfirmedEventHandler Selected; IList ItemsSource; System.Func
Detailed Documentation¶
A dropdown select button for choosing and instantiating from a list of options.
Properties¶
ItemConfirmedEventHandler Selected
Invoked when an item is selected and confirmed.
IList ItemsSource
Gets or sets the items source.
System.Func
Gets or sets the item to label function.
string Text
Gets or sets the text.
Methods¶
DropDownSelect()
Initializes a new instance of the DropDownSelect class.
delegate void ItemConfirmedEventHandler(int index)
Invoked when an item is selected and confirmed.
Parameters:
index |
The index into the provided list. |