❔ combobox with radioButtons

Hello, I have modified the template of a combobox, and I'm trying to output the items inside the popup as radioButtons. Since you can select one item at once, and can't uncheck items, this is exactly the behavior of radio buttons. So it shouldn't be hard to just display the items as radioButtons, is it ? In fact I just want to display the checkmark of radioButtons with the items. Thanks for your help.
5 Replies
Murphy
Murphy2y ago
Not easily, without redrawing. This might help- https://www.codeproject.com/Articles/21085/CheckBox-ComboBox-Extending-the-ComboBox-Class-and and instead of using check box controls, use just radio button controls. Since they're in the same container, they should still work as expected.
CodeProject
CheckBox ComboBox Extending the ComboBox Class and Its Items
An article on a CheckBox ComboBox control which extends the ComboBox.Items.
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
PetitKinder
PetitKinderOP2y ago
well is there a way to do that in XAML ? in fact they are using an extended toolkit to achieve this "checkbox combobox" maybe a combobox is not the easiest solution. How would you replicate this type of popup in wpf ?
PetitKinder
PetitKinderOP2y ago
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server