Forums - C# Corner

Forum guidelines

how do I render an image at run time in wpf

Dec 5 2012 3:21 PM
I'm just doing a basic practice project that envolves a street light and the light/image changes color at the push of a button. at design time I can see all three of my images clearly but at runtime none of them will show up. I searched the hell out of google and I followed about three different examples but nothing will work.

this is what I have in my xaml code so far

[code]
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525">


Unlimited Flat-Free License

SPONSORED BY

File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!