Reputation: 1599
I am having a collection bound to a WPF ListBox, I want to make the listboxItems aprear one after the other one first binding to the data. To have an effect similar to powerPoint one.
Upvotes: 0
Views: 303
Reputation: 160892
Couldn't you just use a timer and add the items to the collection one by one, raising a property changed event in between?
Upvotes: 1
Reputation: 57919
Two options spring to mind:
A. create a storyboard that animates opacity, and apply it to the ItemTemplate
B. use a timer on a background thread to add items one-by-one to the bound collection
Upvotes: 3