There are demos for each of the styles included but in each case simply apply the relevant style to your main window and then either create your own page or use your normal MVVM library to create your ViewModel that will be displayed by the appropriate page and navigate to it.

The basic template for adding each style is to add the following into your App.xaml

<Application x:Class="WinChrome.VS2012Demo.App">
<Application.Resources>
<ResourceDictionary>
<
ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="/WinChrome;component/UI/ModernNavigationWindow.xaml" />
or
<ResourceDictionary Source="/WinChrome;component/UI/Win7NavigationWindow.xaml" />
or
<
ResourceDictionary Source="/WinChrome;component/UI/VS2012Window.xaml" /> with an optional
<!--<ResourceDictionary Source="/WinChrome;component/UI/DarkTheme.xaml" />--> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </Application.Resources>
</
Application>

And in your MainWindow.xaml

<WinChrome:SearchableNavigationWindow <!-- Or just a normal NavigationWindow-->
    xmlns:WinChrome="clr-namespace:WinChrome;assembly=WinChrome"
    Style="{StaticResource ModernNavigationWindow}"
or
Style="{StaticResource Win7NavigationWindow}"
or
Style="{StaticResource VS2012Window}">
<
WinChrome:SearchableNavigationWindow.Navigation> <view:Navigation x:Name="navigationTree"/> </WinChrome:SearchableNavigationWindow.Navigation> </WinChrome:SearchableNavigationWindow>

Last edited Oct 1, 2013 at 5:28 PM by alski, version 5