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

TabControl Background dosen't change with theme

3 Answers 124 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Ivan
Top achievements
Rank 1
Ivan asked on 05 Nov 2013, 01:39 PM
Hello, i have a problem with background color of RadTabControl.
My project is using WPF. I have used RadTabControl and have some Tabs. For example i have a tab with a Grid. In the Grid i have some RadTextBox, RadComboBox  and RadExpander. When i change the theme to Expression_Black in runtime, the themes of RadTextBox and RadComboBox will be changed automatically. But the Background colors of RadExpander and TabItems will not be changed.
Do i need to do something special for TabItems and RadExpander?
Thanks!

3 Answers, 1 is accepted

Sort by
0
Ivan
Top achievements
Rank 1
answered on 06 Nov 2013, 09:40 AM
I have located the problem. It is because Grid. Which not changed is Grid's Background. I bind the Background on one of Telerik Control, then Grid will use the same color. But i am not sure, whether it is the best solution.
0
Stefan
Telerik team
answered on 08 Nov 2013, 01:46 PM
Hi Ivan,

Unfortunately I wasn't able to reproduce the issue you described. Also I am not sure which control you mean when you say RadTextBox, that's why I used RadMaskedTextInput in my test project.

I attached the project I used when trying to reproduce the issue. Please examine it and let me know if I have missed something.

Regards,
Stefan
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Ivan
Top achievements
Rank 1
answered on 11 Nov 2013, 08:12 AM
i have resolved the problem. Because i have defined a style for telerik control in MergedDictionary. That makes the control unchanged with themes.
btw. i cannot open ur attach in VS.
but thanks anyway
Tags
TabControl
Asked by
Ivan
Top achievements
Rank 1
Answers by
Ivan
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or