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

Applying a custom style to the ClearSelectionButton

3 Answers 160 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rob T
Top achievements
Rank 1
Rob T asked on 16 Mar 2012, 11:25 PM
How do I apply a custom Style to a Clear Selection Button?

Thanks

3 Answers, 1 is accepted

Sort by
0
Rob T
Top achievements
Rank 1
answered on 19 Mar 2012, 05:46 PM
Anyone?
0
Rob T
Top achievements
Rank 1
answered on 20 Mar 2012, 12:38 AM
Someone on my team used Blend to export the styles and templates for the combo.  Then I made the necessary changes in there.

It would be much nicer not to need the 500 or so lines of code to maintain, I'd much rather just be abolt to assign the button a Style or a Template directly in the ComboBox xaml.
0
Georgi
Telerik team
answered on 21 Mar 2012, 09:14 AM
Hi Rob,

Indeed if you want to customize the clear button you need to use RadComboBox template. But keep in mind that you can customize the template, meaning you can shorten it. Just have to be careful not to remove any necessary parts, you can find more info here.

Greetings,
Georgi
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
ComboBox
Asked by
Rob T
Top achievements
Rank 1
Answers by
Rob T
Top achievements
Rank 1
Georgi
Telerik team
Share this question
or