May 2nd, 2011, 12:04 PM
Setting image source in only in runtime (Without define it in the XAML)
I'm trying to create XAML page with several images that will only be set in the code during runtime. Here is a sample of image tag from my XAML -
<Image Name="CloseAppWindow" Width="454" Height="256" Canvas.Top="45" Canvas.Left="24"></Image>
As you can see I did not specify the source for it since I want to do it through code. However the resources of the images are kept in a different project and no matter what I do to send them as parameters the XAML window is drawn without them.
Any ideas will be great,
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!