Picker<TItem>
A menu-style selection button wrapping
UIButton + UIMenu.| Type parameter | Summary |
|---|---|
(class) TItem | The item type. |
Properties
ItemTitle
How an item is labeled in the menu. Defaults to ToString().
ItemsSource
The selectable items.
Live when the list is an
ObservableCollection.
Type: BindableList<TItem>
Placeholder
Text shown when nothing is selected.
SelectedItem
The selected item, or null for none.
Type: Bindable<TItem?>
SelectionChanged
Invoked with the newly selected item.
Type: Action<TItem>?