Platforms: WP7SL, WP8SL, WinRT(Universal)
This class can be used for better image loading performance or to load images with username-password authentication (by using an
<Image Media:ImageHelper.Source="http://myurl" />
It is also possible to stop the image loading for example while scrolling a list in the
// event from the [MtListBox] (MyToolkit) class
protected void OnScrollingStateChanged(object sender, ScrollingStateChangedEventArgs e)
ImageHelper.IsEnabled = !e.NewValue;
Don't forget to reenable the image loading in OnNavigatingFrom
(Windows Phone) because the stop scrolling event may never occur.
The ImageHelper also supports
s (Uris with credentials).
This class can also be used to display images with hotlink protection. See
this StackOverflow question