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.
should also have mentioned that i am applying the themes at the application level with the following in App.xaml. Was hoping that applying them at this level would get it picked up by all controls, but it just seems to be the Infragistics controls that are affected:
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<igThemes:PrimitivesOffice2k7Black/>
<igThemes:DataPresenterOffice2k7Black/>
<igThemes:RibbonOffice2k7Black/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
You're right -- the themes currently only apply to the Infragistics controls. We're currently working on building out the themes to target the system controls as well. In the meantime, you can take advantage of the default resources we ship for the Ribbon (NetAdvantage for WPF Installation Directory\DefaultStyles). You'll find the default templates and brushes for all of the Office themes that you could use as a starting point for the system controls.
What's the latest on this? Are the MS controls "themeable" with Infragistics themes? I'm using 2012.1. If not, will it work in 2012.2? If not by then, where is it in the pipeline of upcoming work?
I ask because:
1. No Infragistics toolbar
2. No Infragistics button
3. No Infragistics etc.
Moving from almost being able to exclusively use Infragistics controls in lieu of what comes from MS with VS in a .Net WinForms app to the comparable controls missing in Infragistics WPF leaves me with a huge void. I'm seeing other vendors' suites support their controls + the standard VS controls, and often include a WPF theme editor too for tweaking. I'm a little disappointed so far because I can't set a theme, and keep going.
Yes, we are working on this now and it will be available in the 13.2 release. Until then, you can have the Metro theme for the WPF and Silverlight Microsoft controls right now for free.
http://brianlagunas.com/free-metro-light-and-dark-themes-for-wpf-and-silverlight-microsoft-controls/
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
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.
Thanks for providing your solution. I have been on vacation and just returned.