[IronPython] png images in xaml

Rob Brown-Bayliss r.brown.bayliss at gmail.com
Thu Jul 8 22:21:44 CEST 2010


I am using visual studio 2010 and the iron python tools.

How do I place an image in a dialog?

I have this in my xaml:

<Image Name="pm_logo" Grid.Row='0'>
                <BitmapImage UriSource="/Images/pm.png"></BitmapImage>

and in the project directory I have the Images folder and the png
image.  But nothing shows when I run the app.

Is it preferable to add the images in code or is xaml the correct place?


More information about the Ironpython-users mailing list