Set which items are shown when combobox is selected. (WPF) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Set which items are shown when combobox is selected. (WPF)

Hello everyone, I'm currently working on a WPF project and was wondering if it is possible to set which items are shown when I open the combobox. At the moment it always shows the items that are in the middle of all. Like: "item 1" "item 2" "item 3" "item 4" "item 5" "item 6" "item 7" In this example only item 3 to 5 would show when clicking the combobox. But I would like to show item 1 at the very top instead of item 3. Is there any way to get that to happen? Its's kinda hard to describe it. I hope you understand it anyway ;) Have a nice day everyone!

2nd May 2020, 4:50 PM
ExampleWasTaken
ExampleWasTaken - avatar
1 Answer
0
Yes I know that, but that doesn't help with my problem. My problem is, that if I click on the combobox, the dropdown menu doesn't start at the top, but at the bottom. That is little bit different than my original question. Figured it out when I already posted the question.
3rd May 2020, 7:58 AM
ExampleWasTaken
ExampleWasTaken - avatar