TabControl Background dosen't change with theme

4 posts, 0 answers
  1. Ivan
    Ivan avatar
    46 posts
    Member since:
    Nov 2013

    Posted 05 Nov 2013 Link to this post

    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?
  2. Ivan
    Ivan avatar
    46 posts
    Member since:
    Nov 2013

    Posted 06 Nov 2013 Link to this post

    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.
  3. Stefan
    Stefan avatar
    89 posts

    Posted 08 Nov 2013 Link to this post

    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.

    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 >>
  4. Ivan
    Ivan avatar
    46 posts
    Member since:
    Nov 2013

    Posted 11 Nov 2013 Link to this post

    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
Back to Top