I need to know if there is any way to set the Source property to Relative path through XAML.
I need to something like below
You can configure the Image1.jpg file as a content file for your application assembly, then you can use the relative pack URI syntax to refer to the content data file.
For more information on pack URI scheme and how to configure content files, you can read the following msdn articles:
Pack URI scheme:
Configuring Content Files:
Hope this helps
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?