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

Clear Selection button custom behavior

1 Answer 190 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Shawn
Top achievements
Rank 1
Shawn asked on 27 Dec 2011, 09:31 PM
I'm trying to make a multi-select combobox with checkboxes in each item. Is there an event/way to get access to the clear selection button? I didn't see an event and I wasn't having luck finding the button in the visual tree. I was hoping i could hook into previewleftmousebuttondown and do my clear action. 

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 29 Dec 2011, 11:09 AM
Hello Shawn,

I am afraid that the behavior of the ClearSelection button cannot be easily customized - it just sets SelectedIndex=-1.  You should modify the template of the ComboBox in order to subscribe to the previewleftmousebuttondown event of the button.

Greetings,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
ComboBox
Asked by
Shawn
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or