My WPF application uses a RadTabControl. My app runs on laptops with touch screens that are used in police cars. The application has a Night Mode which has a subdued palette so as not to affect the officer's night vision.
I've been totally unable to change the background color of the tab control. It has a gray gradient background normally, which is what I want during daylight hours ("day mode"). I have used Snoop to traverse the visual tree, and I've found a HeaderBackgrouind Border control. If I change the background color in Snoop, I get the effect I want. But if I try to change the background color of the same Border in the template in Expression Blend, the control totally ignores my changes and the background is always the gray gradient.
Also, I haven't been able to figure out how to change the colors of the selected tab. That is, I haven't been able to find the item(s) in the temlpate that are drawn when the tab is selected.
What is causing my edits to be ignored? Is it the StyleManager attached property? If I delete that, will my changes stick? And if I do, what is the xaml for the gradient that is being used by the Office Black theme? If it's none of that, how do I change the background of the tab control?
Tony
I've been totally unable to change the background color of the tab control. It has a gray gradient background normally, which is what I want during daylight hours ("day mode"). I have used Snoop to traverse the visual tree, and I've found a HeaderBackgrouind Border control. If I change the background color in Snoop, I get the effect I want. But if I try to change the background color of the same Border in the template in Expression Blend, the control totally ignores my changes and the background is always the gray gradient.
Also, I haven't been able to figure out how to change the colors of the selected tab. That is, I haven't been able to find the item(s) in the temlpate that are drawn when the tab is selected.
What is causing my edits to be ignored? Is it the StyleManager attached property? If I delete that, will my changes stick? And if I do, what is the xaml for the gradient that is being used by the Office Black theme? If it's none of that, how do I change the background of the tab control?
Tony