I know similar questions have been asked in relation to animating items within an ItemsControl so if an acceptable answer has been posted then it would be great if I could be pointed in the right direction.
I have a databound TreeView where the hierarchy will only ever be one level deep. It could have X number of root nodes with X number of children. However that's as deep as it gets. The problem I'm facing is how is the best way to animate the add/move/remove of items in the databound collection.
The TreeView's ItemContainerStyle is set to a custom ControlTemplate, to provide MouseOver and Selected styling. Then I use a HierarchialDataTemplate to further layout the different types of Item's being bound to it.
I have found many examples demonstrating how to animate the Expanding of items but not a whole lot in terms of animating when an item is added / moved / removed. One example found here shows pretty much what I'm after but incorporates a lot of code and library references that I would in other words consider extraneous. I'm not against incorporating my own versions of similar functionality. I'm just hoping I can hook into event triggers or equivalent to accomplish the same goal.
I haven't posted any example code because I'm really open to any solution and haven't written anything that "does't work" and needs fixing. I am more or less looking for opinions on where to start. The type of animation being applied is also irrelevant because as long as I know how to animate the add/move/remove at all, then I can modify and change the code to suit my preferences and overall final effects.