Inside our WPF application We have IObservable which gets populated from our server. as we are moving to new .NET 4.5 features (async, await), at first we only load ReturnItems withou image an after its successful download we use Parallel.Foreach() to load associated images as well.
when image download completes for each item byte[] is assigned to ReturnItems CoverImage property and from my UI DataTemplate s Image element is bound to this property as well.
What I want to achieve is animate this image load process so there is some sort of fadein from nothing animation when image completes loading. I want to use storyboards if possible.
I assume that before you set the source of the image it is
null, i.e. it’s not an empty array or similar. If so, use this style for the image: