Hello,
I'm trying to set the theme for my application to RoyalDark.
In my App.xaml I have added the resource dictionary RoyalDark.xamDataTree.xaml and in the XAML-Designer the XamDataTree is displayed correctly.
However, when I run the application I get the following error:
An unhandled exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dllAdditional information: 'Cannot create unknown type '{schemas.infragistics.com/.../primitives}BoolToVisibilityConverter'.' Line number '54' and line position '6'.
I have referenced InfragisticsWPF4.v17.2 where the BoolToVisibilityConverter is defined.
What am I doing wrong?
Hello ,
Thank you for posting to our forum.
By it looks like you are missing some references which is throwing this error.
I would recommend you to go through this online development guild of xamDataTree control describing the steps and references required for adding the xamDataTree control to your page.
https://dev.infragistics.local/help/wpf/xamdatatree-adding-xamdatatree-to-your-page
If still getting the error please send an isolated sample project, where the issue is reproduced, so I can investigate it further for you.
Looking forward for your reply.
All the necessary references have already been included in the project.
As it turns out however they are not loaded automatically; at least not in time.
Adding the following actually solved the problem:
public App() { Assembly.Load("InfragisticsWPF4.v17.2"); }