Quantcast
Channel: SCN : Discussion List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2881

Using custom WPF styles in PB.NET

$
0
0

Has anyone tried downloading a third-party WPF style library and tried it out in PB.NET?

I recently tried this simple one and failed: http://mui.codeplex.com/wikipage?title=My%20first%20Modern%20UI%20app&referringTitle=Documentation

 

If I follow those instructions and then try to open the window regular PB style , Open( lw_window ), I get a invalidclasscast exception. So then I tried the WPF way like this:

 

W_mui      lw_mui

lw_mui = create w_mui

lw_mui.Show()

 

Then the window shows but It's just black.

 

Thing is that a WPF application in a PB.net Solution does'nt seem to have a App.xaml resource file, which is declared in the linked tutorial. Can I manually add one?

 

Also if I open my W_mui it fails to load the layout and some errors are given. That is because I changed the xaml for it to the one given in the tutorial. The application is runnable but that just doesn't feel right.


Viewing all articles
Browse latest Browse all 2881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>