WPF Error during loading XAML file

WPF Error during loading XAML file

Hi!

Sorry, if this topic is not in the appropriate section.

I am trying to create a WPF element according to WPF manual (point 5, page 23). I have already created a XAML file with no code behind and a .dll, then imported them into zenon (respectively into graphic and others). When I create a WPF element on the screen, the element is blank and I recieve an error message:

"The invocation of the constructor on type „WPFUserControlLibrary.UserControl1” that matches the specified binding constarints threw an exception"

If anyone had this problem and found a solution to it, I would really appreciate your help.

Best regards,
Grzegorz Kaczmarczyk


This is a migrated post! Originally posted on 17.04.2020 by user grzegorz_kaczmarczyk. Please be aware that information can be outdated.