欢迎访问移动开发之家(rcyd.net),关注移动开发教程。移动开发之家  移动开发问答|  每日更新
页面位置 : > > 内容正文

Windows Phone 图片扩展类

来源: 开发者 投稿于  被查看 42175 次 评论:231

Windows Phone 图片扩展类


 
     
        WebImageCacheDirectoryName =   ApplicationData.Current.LocalFolder.Path +  
         
           DependencyProperty SourceProperty = 
         
         
         
           
         
         
         
           = args.NewValue = target  (String.IsNullOrEmpty(value) ==  || image ==  (value.StartsWith(== 
         
         
         
         = LocalFolderPath +  BitmapImage( 
         
         
         
         =  BitmapImage(=  BitmapImage(+=+=   bitmapImage_ImageOpened(=-==   bitmapImage_ImageFailed(=-= 
         
         
         
           (image ==   [ ReadImageBytes(image.Source  
         
         
         
          [] imageBytes =  [= (imageStream == =   
         
         
         
          (bitmapSource ==  = = ,  
         
         
         
          (image ==   ReadImageStream(image.Source  
         
         
         
         
         
          (image ==   SaveImageToLocalFolder(image.Source  
         
         
         
         
         
          
         
         
         
         
         
           (imageStream ==   (String.IsNullOrEmpty(relativePath) ==  (Directory.Exists(relativePath) == = LocalFolderPath + relativePath +=   (fileName.StartsWith( LocalFolderPath + WebImageCacheDirectoryName + (fileName.StartsWith( fileName.Substring( LocalFolderPath +  MD5.GetMd5String(imageUrl) + 

可  自动缓存图片 自动读取缓存图片

 

本扩展作者为 北京-乱舞春秋 来自QQ群(

WP8 Coding4Fun   182659848  

相关频道:

用户评论