Interface IUISelectDropDownList
A component that represents a drop down list where the user can select one item in it.
Inherited Members
Namespace: DevToys.Api
Assembly: DevToys.Api.dll
Syntax
public interface IUISelectDropDownList : IUITitledElement, IUIElement
Properties
Items
Gets the list of items displayed in the drop down list.
Declaration
IUIDropDownListItem[]? Items { get; }
Property Value
Type | Description |
---|---|
IUIDropDownListItem[] |
OnItemSelectedAction
Gets the action to run when the user selects an item in the list.
Declaration
Func<IUIDropDownListItem?, ValueTask>? OnItemSelectedAction { get; }
Property Value
Type | Description |
---|---|
Func<IUIDropDownListItem, ValueTask> |
SelectedItem
Gets the selected item in the drop down list.
Declaration
IUIDropDownListItem? SelectedItem { get; }
Property Value
Type | Description |
---|---|
IUIDropDownListItem |
Events
ItemsChanged
Raised when Items is changed.
Declaration
event EventHandler? ItemsChanged
Event Type
Type | Description |
---|---|
EventHandler |
SelectedItemChanged
Raised when SelectedItem is changed.
Declaration
event EventHandler? SelectedItemChanged
Event Type
Type | Description |
---|---|
EventHandler |