You can simply create a source of business objects which contain the Uri of the image which is stored in the Isolated Storage of your application. When you bind RadSlideView
to this source, you will load the images on demand and make sure you do not store any reference to them in your ViewModel so that they can be garbage collected when not needed anymore. The following code demonstrates how loading an image from the IsoStore is done:
(var sourceFile = _storage.OpenFile(isolatedStoragePath, FileMode.Open, FileAccess.Read))
BitmapImage bm =
So you can put a similar property on your data item and use it in the DataTemplate
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINDOWS PHONE 7.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>