Picker control #22724
-
I have a picker that can potentially have a large number of items in the list. I don't want to build the list until they request it. Instead of it being built initially or based on dependencies on other controls. Basically, build the picker list on demand. I can't seem to find an available event for when the user requests the list. Has anyone done this in the past? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Can you bind the picker's itemsource to a list? As shown here: https://stackoverflow.com/questions/74212915/how-do-you-bind-maui-picker-to-a-viewmodel |
Beta Was this translation helpful? Give feedback.
-
How about using an empty |
Beta Was this translation helpful? Give feedback.
How about using an empty
ObservableCollection
bound to thePicker
and adding items to it in theFocused
event? Attached sample:PickerFocused.zip