Answered by:
binding image source

Question
-
I want to allow users to select a folder, then preview the images in that folder IN THE APP by XAML data binding against the file paths I get back. XAML binding means using the path, but it doesn't work. I hear the issue may be that the app doesn't have access to the folder and that we should use streams, but it's crazy that we can't do data binding if we have access to the files another way. What am I missing?Thursday, January 31, 2013 5:37 AM
Answers
-
Path binding doesn't work with absolute paths, it supports installed folder and local storage only. However you can bind you controls with manually loaded images, I am describing it in the following post - http://lunarfrog.com/blog/2012/11/21/image-file-binding/
http://lunarfrog.com/blog/
Thursday, January 31, 2013 1:26 PM -
Hi Michael,
Please have a look the following sample.
Which shows most of the XAML image bindings
http://code.msdn.microsoft.com/windowsapps/0f5d56ae-5e57-48e1-9cd9-993115b027b9
thanks,
Bhash
Thursday, January 31, 2013 2:24 PM
All replies
-
Path binding doesn't work with absolute paths, it supports installed folder and local storage only. However you can bind you controls with manually loaded images, I am describing it in the following post - http://lunarfrog.com/blog/2012/11/21/image-file-binding/
http://lunarfrog.com/blog/
Thursday, January 31, 2013 1:26 PM -
Hi Michael,
Please have a look the following sample.
Which shows most of the XAML image bindings
http://code.msdn.microsoft.com/windowsapps/0f5d56ae-5e57-48e1-9cd9-993115b027b9
thanks,
Bhash
Thursday, January 31, 2013 2:24 PM