Invoke Storyboard on specific DataTemplate Instance
Posted: 09 Feb 2014, 17:26
I have an ItemsControl that holds multiple items with a custom DataTemplate as the ItemTemplate property.
On my model-view code I have a data manager that holds list of visible items bounded to the ItemsSource property of the ItemsControl.
The display screen can't show all items so I'd like to create some cross fade in/out animation that will be applied on certain item. I would like to play the animation and at the end of it I would like to change the content of the data collection to hold new set of data items to be displayed.
I've manage to create a Storyboard within the scope of my DataTemplate.Resources but from this point I'm kinda lost ...
Any suggestions to accomplish this task would be great..
Thanks
On my model-view code I have a data manager that holds list of visible items bounded to the ItemsSource property of the ItemsControl.
The display screen can't show all items so I'd like to create some cross fade in/out animation that will be applied on certain item. I would like to play the animation and at the end of it I would like to change the content of the data collection to hold new set of data items to be displayed.
I've manage to create a Storyboard within the scope of my DataTemplate.Resources but from this point I'm kinda lost ...
Any suggestions to accomplish this task would be great..
Thanks