This is a migrated thread and some comments may be shown as answers.

FilteringMode="StartsWith" with fixed item

1 Answer 70 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Dandan
Top achievements
Rank 1
Dandan asked on 17 May 2009, 11:34 AM
Hi,

I have comboBox with checkBoxes items.  I use  FilteringMode="StartsWith" for searching. I want that when the user use "startWith", then he will get list of "startWith" items, but with another item "choose all" that always appears (with any search).
Can I do it (item that appear always, with any search)?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Robert Owens
Top achievements
Rank 1
answered on 18 May 2009, 06:43 AM
In my opinion you will need to override the control template and put the "always visible" checkbox above the ItemsPresenter. Then inherit from RadComboBox and handle the events from the checkbox in order to check/uncheck all items.

~Robert
Tags
ComboBox
Asked by
Dandan
Top achievements
Rank 1
Answers by
Robert Owens
Top achievements
Rank 1
Share this question
or