2012年11月15日 星期四

How to get the path to the image file that is associated to the image element on windows phone 8.

       var bitmapImage = ImageElement.Source as BitmapImage;  
       if (bitmapImage != null)  
         ImagePath = bitmapImage.UriSource.ToString();  

沒有留言:

張貼留言