I'm using Visual Studio 2022 and in my .NET Maui application that I'm writing, I'm trying to add a combo box in my XAML code. So when I first add:
I get a squiggly line under the word ComboBox and the message:
The 'ComboBox' weas not found. Verify that you are nit missing an assembly reference and that all referenced assemblies have been built.
Is there anything else I have to the xaml file to make .NET Maui see a combo box?

Mohammad HussainPosted Sep 12, 2023, 8:00 AM
In .NET MAUI, the correct control for a combo box is called
Picker, notComboBox. You should use theelement in your XAML to create a dropdown list. Here's an example of how you can use it: