Hi,
The themes for windows8 or windows7 is applied by default, depending on your system.
The themes MetroLight, MetroDark, Office2007 Blue, Office2007 Black and Office2007 Silver is only available in the "Plus" version.
To use the Metro theme, you need the following references ;
-Xceed,Wpf.Themes
-Xceed,Wpf.Themes.Metro //for core controls
-Xceed.Wpf.Toolkit.Themes.Metro //for toolkit controls
To use the Office2007 themes, you need the following references ;
-Xceed,Wpf.Themes
-Xceed,Wpf.Themes.Office2007
-Xceed.Wpf.Toolkit.Themes.Office2007
You can add the Metro theme in code-behind this way in you main page :
The themes for windows8 or windows7 is applied by default, depending on your system.
The themes MetroLight, MetroDark, Office2007 Blue, Office2007 Black and Office2007 Silver is only available in the "Plus" version.
To use the Metro theme, you need the following references ;
-Xceed,Wpf.Themes
-Xceed,Wpf.Themes.Metro //for core controls
-Xceed.Wpf.Toolkit.Themes.Metro //for toolkit controls
To use the Office2007 themes, you need the following references ;
-Xceed,Wpf.Themes
-Xceed,Wpf.Themes.Office2007
-Xceed.Wpf.Toolkit.Themes.Office2007
You can add the Metro theme in code-behind this way in you main page :
this.Resources.MergedDictionaries.Add( new Xceed.Wpf.Toolkit.Themes.Metro.ToolkitMetroDarkThemeResourceDictionary( new SolidColorBrush( Colors.Green ) ) ); //for toolkit controls
this.Resources.MergedDictionaries.Add( new Xceed.Wpf.Themes.Metro.MetroDarkThemeResourceDictionary( new SolidColorBrush( Colors.Green ) ) ); // for core controls
You can add the Office2007 Blue theme in code-behind this way in you main page :this.Resources.MergedDictionaries.Add( new Xceed.Wpf.Toolkit.Themes.Office2007.Office2007BlueResourceDictionary() ); //for toolkit controls
this.Resources.MergedDictionaries.Add( new Xceed.Wpf.Themes.Office2007.Office2007BlueResourceDictionary() ); // for core controls
You can add the Metro theme in XAML this way in you main page :xmlns:xctm="clr-namespace:Xceed.Wpf.Toolkit.Themes.Metro;assembly=Xceed.Wpf.Toolkit.Themes.Metro"
xmlns:xcm="clr-namespace:Xceed.Wpf.Themes.Metro;assembly=Xceed.Wpf.Themes.Metro"
<Window.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<xctm:ToolkitMetroDarkThemeResourceDictionary AccentColor="Green" /> <!--for toolkit controls -->
<xcm:MetroDarkThemeResourceDictionary AccentColor="Green" /> <!-- for core controls -->
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Window.Resources>
You can add the Office2007 Blue theme in XAML this way in you main page :xmlns:xcto="clr-namespace:Xceed.Wpf.Toolkit.Themes.Office2007;assembly=Xceed.Wpf.Toolkit.Themes.Office2007"
xmlns:xco="clr-namespace:Xceed.Wpf.Themes.Office2007;assembly=Xceed.Wpf.Themes.Office2007"
<Window.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<xcto:Office2007BlueResourceDictionary /> <!--for toolkit controls -->
<xco:Office2007BlueResourceDictionary /> <!-- for core controls -->
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Window.Resources>