I have a PivotGrid v11.2 in a user control project. I followed the steps outlined in Help Doc '/Help/NetAdvantage/WPFDV/2011.2/CLR4.0/html/Designers_Guide_Using_Themes.html'. Please update this document to include the need to reference Microsoft's PresentationFramework.Aero, at least when trying to setup the Office2010Blue theme. I have not yet tried the IG theme pack to know if it too also depends on the Aero framework.
The error in the Subject of this post is identical to Forum post: http://blogs.infragistics.com/forums/p/56439/289042.aspx however, the accepted solution in that post does not fix this error for me as I do have a reference to InfragisticsWPF4.Controls.Menus.XamTree.v11.1.dll.
Thanks.
Hi,
Hope you had a nice holiday. Have you had a chance to review this?
Please let me know if you have any questions.
That's fine. Hope you have a nice holiday too.
Let me know if you have questions after you've had a chance to look into this.
Hi Marianne,
So sorry. I am out of the office for the remainder of 2011. I will be able to give this another go in the first week of January. I will be in touch. Happy Holidays!
Jaime
I hadn’t heard back from you and I was wondering if you had further questions.
If so, please feel free to contact me.
I am attaching a sample for you to look at. It has a flatdatasource and the following are the references used.
· InfragisticsWPF4.Controls.Grids.XamPivotGrid.v11.2.dll
· InfragisticsWPF4.Controls.Menus.XamTree.v11.2.dll
· InfragisticsWPF4.DragDrop.v11.2.dll
· InfragisticsWPF4.Olap.FlatData.v11.2.dll
· InfragisticsWPF4.Olap.v11.2.dll
· InfragisticsWPF4.v11.2.dll
And I added the PresentationFramework.Aero reference.
If you remove the PresentationFramework.Aero from the references you will get an error message when you try to compile “The tag 'SystemDropShadowChrome' does not exist in XML namespace 'clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero'.”
You’ll also see in the Themes folder that although I copied the igTheme and Office2011Blue folders from the C:\Program Files\Infragistics\NetAdvantage for .NET \WPF\Themes folder, but I removed all but the following in my Office2010Blue folder.
· Office2010Blue.xamPivotGrid.xaml
· Office2010Blue.xamTree.xaml
You may need additional references and themes depending on which other controls are in your application.
Let me know if you have any problems with the sample or any questions.