Hi,
I've managed to change recently the background of the RadWindow header
by setting RadWindow.Background and RadWindow.BorderBackground properties.
Important is that window is not the RadWindow class itself but inherited class:
public abstract class WindowBase : RadWindow {...}
And all our windows are declared like this:
XAML: <base:WindowBase x:Class="FrontEnd.SL.View.ListScreenView"
xmlns:base="clr-namespace:FrontEnd.SL.UI" ...
Background={StaticResource ...} BorderBackground={StaticResource ...} />
code-behind: public partial class ListScreenView : WindowBase
Since we've installed 2010 Q3 build, the Background and BorderBackground settings are not enough.
The header look 'n' feel is somehow forced with theme. I also tried to change the theme both in XAML and
code-behind with no luck:
XAML:StyleManager.Theme = "{StaticResource Theme}"
code-behind:Theme theme = ThemeManager.FromName("Vista");
StyleManager.SetTheme(this, theme);
We know how to do this by modifying and applying the RadWindow template, but this is a lot of work for us at the moment.
and code refactoring impact is huge. Is there any shorter and smarter solution than modifying the RadWindow template?