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.
Has support for theming non-Infragistics controls been added yet? It's been about 1.5 years since the last post. Thanks!
I'm also interested in hearing if custom theming is now available ?
I'm also interested in hearing if theming of non-infragistic controls is now available ?
I think that it would be great to have themes for standar controls, too. Other control companies as Viblend gives you for free... it would be great that Infragistics do the same.
Hello Isidoro,
After some research Themes for MS controls has been determine as a new Product Idea. I have sent your Product Idea directly to our product management team. Our product team chooses new Product Ideas for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested ideas, we can plan accordingly.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your idea is chosen for development, you will be notified at that time. Your reference number for this Product Idea is PI12070163
If you would like to follow up on your Product Idea at a later point, you may contact Developer Support management via email. Please include the reference number of your Product Idea in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com
Thank you for your request.
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