First we are using v15.2 of the Infragistics controls. I need to be able to use themes in my WPF application I am prototyping to demonstrate that the WPF can use themes. However I am not finding a good example project or documentation that is making sense to me. Is there an example app that I can download to take a look at?
Hello jerovsek,
May I ask if you have downloaded and installed the Infragistics WPF 2015 Vol. 2 Samples? A set of samples for our Theme Manager are provided from within the samples browser. The zip folder for the sample browser can be downloaded on our website.
https://ko.infragistics.com/my-account/keys-and-downloads
It's installed at this default location:
C:\Users\Public\Documents\Infragistics\2015.2\WPF\Samples\CLR4.0\IGThemeManager
There is also a Themes topic in our online help to help get you started.
http://help.infragistics.com/doc/WPF?page=Themes.html
Let me know if you have any questions.
Yes I have those installed, however they give clips of code or views. My confusion is what do I need to put in my project folder. Do I put in a "Themes" folder? Is there a structure I need to use and if so what files need to reside in this folder? I was hoping to find an example project that would show all this. Then how to be able to have selectable themes for the whole project.
I have tried following the instructions on the themes.html you listed in your reply, following the instructions I get errors like "The name SRProvider" does not exist in the namespace.... or does not exist in XML namespace..... etc.....
I will continue to dig.
I attached a sample that demonstrates, what I believe, the simplest way to have selectable themes. You will be required to reference each theme's assembly that you want to have available and create a list of them that binds to some control (eg. xamComboBox) to change the theme.
Please review my sample and let me know if you have any questions.
Thank you I will take a look at it. Meanwhile I mentioned earlier in this post errors I am getting. I am attaching my proto-project for your scrutiny. I have not been able to identity why I am getting the errors when I added a theme to the theme folder. I was wondering if you could tell me where or what I did wrong in this project and I greatly appreciate the help!
Adding a "Themes" folder is unnecessary, please remove it. My sample shortens the process by referencing our assemblies which does all the leg work for obtaining the styles you want to have. Let me know if you have any questions.
I agree. After I got into your example I like that way better. Thanks for the help!