示例#1
0
 public static void SetSourceForImage(Image image, string uriStr, bool animateOpacity = false)
 {
     ImageLoader.SetUriSource(image, uriStr);
 }
示例#2
0
 private static void OnImageBrushSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
 {
     ImageLoader.ProcessImageBrush((ImageBrush)d, e.NewValue);
 }
示例#3
0
 private static void OnUriSourceChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
 {
     ImageLoader.HandleUriChangeLowProfile((Image)o, (string)e.NewValue);
 }