TGIF everyone, I have an update for my comments last Tuesday about using
XAML images in WPF apps.

I noticed that the WPF designer would randomly report errors when I started
using XAML images. This glitch has become so serious that it's crippling my
productivity and I'm backing-out the XAML and returning to plain PNG
instead. The designer is incapable of showing the XAML images by any trick
I've tried. They appear as fat border placeholders with strange sizes, or
they're collapsed, or the designer shows error text "Cannot locate
resource" even though I know the resource is correctly defined. Other times
it suggests I need to build to create assemblies for the designer even
though it's freshly rebuilt.

I've tried defining the images via a converter, via a MarkupExtension and
via a class derived from ContentControl which sets its content from the
XAML. It makes no difference.

I'm sure I saw Mads say in a video that Visual Studio now uses XAML images
everywhere ... so what's the trick or technique?

*Greg K*

>
-- 
ozdotnet mailing list 
To manage your subscription, access archives: https://codify.mailman3.com/ 

Reply via email to