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

CustomControls deriving from RadComboBox cannot be styled

3 Answers 39 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Joël
Top achievements
Rank 2
Joël asked on 23 Nov 2011, 08:52 AM
If I created a CustomControl derived from a RadComboBox, I have to explicitly load my xaml file in the App.xaml of the final application.

Apparently, the native style of Telerik to replace my style. That is why I have to recharge it back.

3 Answers, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 23 Nov 2011, 09:59 AM
Hi Laurent,

we do set DefaultStyleKey on OnInitialized based on the application theme so you may experience problems extending our controls. That's why you have to recharge it back. We are aware of that issue.

I am sorry for the inconvenience.

Regards,
Pana
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Joël
Top achievements
Rank 2
answered on 23 Nov 2011, 11:32 AM
Do you have a exemple of application ?
0
Pana
Telerik team
answered on 28 Nov 2011, 09:51 AM
Hi Laurent,

We do not have clean solution for that problem. If you have found a workaround by setting the style back your solution is as good as ours.

Regards,
Pana
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
ComboBox
Asked by
Joël
Top achievements
Rank 2
Answers by
Pana
Telerik team
Joël
Top achievements
Rank 2
Share this question
or