Hello,
Welcome to Microsoft Q&A!
This is not a bug.
In ComboBox resource , ComboBox is designed to display a maximum of 15 item.
<x:Int32 x:Key="ComboBoxPopupMaxNumberOfItems">15</x:Int32>
If you want to change the max number of items, you can override ComboBoxPopupMaxNumberOfItems
in App.xmal, and set the appropriate MaxDropDownHeight
in ComboBox.
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
<!-- Other merged dictionaries here -->
</ResourceDictionary.MergedDictionaries>
<!-- Other app resources here -->
<x:Int32 x:Key="ComboBoxPopupMaxNumberOfItems">20</x:Int32>
</ResourceDictionary>
</Application.Resources>
Thank you.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.