Hi Telerik,
I'm testing the telerik components in order to see if we could use them in our products. I was very happy to see the nice themes you guys provide. Although, I can't make StyleManager work.
There is no problem when creating a WPF application, but the following project produces errors all the time (unable to locate the source for Themes.cs):
I create a class library with some XAMLs. This class library is registered to be com accessible in order to make 3d party softwares (managed and unmanaged) able to use our dll. This fails however when I use a stylemanager anywhere on the XAML.
I've provided 2 solutions as an example. testTelerikStyleManager creates the com accessible dll (and also a debug forms application => In which the stylemanager doesn't provide an error) and testTelerikStyleManager2 which has a forms application that will create an instance of our com-accessible dll. That's where stylemanager crashes.
download: http://www.dstudiofs.eu/uitwissel/testTelerikStyleManager.rar
If you would like to test on your machines, the workflow is:
1 build testTelerikStyleManager in debug mode to register Class1 for com interop
2 open testTelerikStyleManager2 and start debugging.... The error should be shown in a MessageBox when clicking the button
Kind regards
I'm testing the telerik components in order to see if we could use them in our products. I was very happy to see the nice themes you guys provide. Although, I can't make StyleManager work.
There is no problem when creating a WPF application, but the following project produces errors all the time (unable to locate the source for Themes.cs):
I create a class library with some XAMLs. This class library is registered to be com accessible in order to make 3d party softwares (managed and unmanaged) able to use our dll. This fails however when I use a stylemanager anywhere on the XAML.
I've provided 2 solutions as an example. testTelerikStyleManager creates the com accessible dll (and also a debug forms application => In which the stylemanager doesn't provide an error) and testTelerikStyleManager2 which has a forms application that will create an instance of our com-accessible dll. That's where stylemanager crashes.
download: http://www.dstudiofs.eu/uitwissel/testTelerikStyleManager.rar
If you would like to test on your machines, the workflow is:
1 build testTelerikStyleManager in debug mode to register Class1 for com interop
2 open testTelerikStyleManager2 and start debugging.... The error should be shown in a MessageBox when clicking the button
Kind regards