[IronPython] png images in xaml
cenovsky at bakalari.cz
Thu Jul 8 14:19:48 PDT 2010
On 8.7.2010 22:21, Rob Brown-Bayliss wrote:
> 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?
I think this is not IronPython problem. I would try to search Uri
questions on stackoverflow.com - e.g.
More information about the Users