I'm unable to use the DropDownButton
in my UWP app. Is there an extension or reference that I need to use before the control name?
If not, is there an alternative of the control?
I can't use the ComboBox
as I need the header text in the button, not above it.
Set the target version to 1809 or higher or install the Windows UI Library.
Don't fortget to add <XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls"/>
to your Application.Resources
as explained in the docs.
Or add xmlns:controls="using:Microsoft.UI.Xaml.Controls"
at the top of your XAML file and then add the control using <controls:DropDownButton />
.