I want to create user control based on ListBox (ListView) with such animation: the items in listbox do not loads all at once, they have to load step-by-step (item-by-item, first then second, then third, etc.) with some timeout between them.
How can I do that?
You could use a Blend SDK behavior for this:
Tick
specifies the time between when items are started to fade in.Animation
is the animation applied to the Opacity for the fade in, it can be set in Xaml to be very costomizable (e.g. easing functions and fade time).Edit: Added new item fade in (only works if ItemsSource is used and implements
INotifyCollectionChanged
)(Use code snippets like this with caution, if at all. This code is mainly for demonstration purposes and giving a general idea of how this can be approached. This could probably also be done using Blend 4's native
FluidMoveBehaviors
if availabe.)