tyler_lp
Topic Author
Posts: 1
Joined: 31 Jul 2023, 23:17

ComboBox Multi-selection

31 Jul 2023, 23:26

How might one enable multi-selection for a ComboBox object?

As seen in this example:
https://www.noesisengine.com/xamltoy/83 ... 4465dae091

the ListBox object allows for setting:
SelectionMode = Multiple

However, the ComboBox object sits higher in the object hierarchy, and does not inherit this property.

1. (Dear API devs,) Could this property be added to the ComboBox object by default?
2. Is there an example where this functionality is implemented as a work-around?

Thank you in advance.
 
User avatar
sfernandez
Site Admin
Posts: 3013
Joined: 22 Dec 2011, 19:20

Re: ComboBox Multi-selection

01 Aug 2023, 12:33

The ComboBox control itslef doesn't look like a good candidate for allowing multi selection as it can only show 1 item in the box when closed.
Maybe what you want is to show a popup with multi-select list, and this can be done using Popup + ListBox with SelectionMode=Multiple. Can something like that work for you?

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 2 guests