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.
Has anyone been able to do this yet? I'd like to extend the theme to the native controls, like Buttons, etc. I'd probably like to start with blue 2k.
Just to add my vote for applying themes to standard WPF controls as well.
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.
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>