
I have a simple project, just one window:
<Window x:Class="ActiProOfficeTheme.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:navigation="http://schemas.actiprosoftware.com/winfx/xaml/navigation"
Title="MainWindow" Height="350" Width="525">
<Grid>
<navigation:NavigationBar x:Name="navbar" SelectedIndex="1">
<navigation:NavigationPane Title="Quak" />
<navigation:NavigationPane Title="Muuh" />
</navigation:NavigationBar>
</Grid>
</Window>
Code in back:
public MainWindow()
{
InitializeComponent();
ThemeManager.SetTheme(navbar, ThemeName.OfficeBlack.ToString());
}
I cannot get the Office Themes to change to the color I want. It is the Generic Theme always. If I apply other Themes, some work (High Contrast works), so what am I missing?