-
May 2nd, 2011, 11:04 AM
#1
Setting image source in only in runtime (Without define it in the XAML)
Hi,
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,
Shak
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|