Clear Selection button custom behavior

2 posts, 0 answers
  1. Shawn
    Shawn avatar
    6 posts
    Member since:
    Oct 2010

    Posted 27 Dec 2011 Link to this post

    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. 
  2. Yana
    Yana avatar
    4603 posts

    Posted 29 Dec 2011 Link to this post

    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.

    the Telerik team

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

Back to Top