I've just started evaluating the NetAdvantage for WPF controls and so far I'm very impressed. I'm developing an application that will make use of the xamRibbon and a number of xamDataGrid. The Office2k7Black theme gives all the Infragistics controls a nice look. However any of the standard WPF controls that I need to use do not pick up these themes. I presume that the themes contain styles that are applied to the Infragistics controls only, is this correct? Is there an easy way to apply the same styles as the Office2k7Black theme to the WPF controls? Or do I need to create a bunch of styles for each WPF control I want to use?
If I need to create these styles then is there an easy way of picking up the values of the Office2k7Black theme. For example font types, colors etc.
Thanks for providing your solution. I have been on vacation and just returned.
In my App.xaml, I copied the files below from the Office2013 theme from Program Files as mentioned in the link above to a Themes folder in my project.
<Application.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="/Themes/Office2013/Styles.Shared.xaml" /> <ResourceDictionary Source="/Themes/Office2013/Styles.WPF.xaml" /> <ResourceDictionary Source="/Themes/Office2013/Theme.Colors.xaml" /> <ResourceDictionary Source="/Themes/Office2013/Office2013.MSControls.Core.Implicit.xaml" /> <!--<ResourceDictionary Source="/Themes/Office2013/Office2013.MSControls.Toolkit.Implicit.xaml" />-->
<!-- I didn't need this one since I'm not using anything from the Toolkit --> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </Application.Resources>
This worked for me.
Can you please give a quick explination on how to include these (the microsoft controls one and the infragistics specifics ones) in app.xaml - merged dictionaries?
Thanks
Can somebody from infragistics please tell how tis can be done with the latest version
Yes, themes for Microsoft controls are available.
http://help.infragistics.com/doc/WPF/2014.1/CLR4.0/?page=MS_Controls_Implicit_Themes.html