Search code examples
wpfanimationitemscontrolcarousel

WPF: How to center and animate an ItemsControl?


I'd like to use an ItemsControl which behaves somewhat carousel-like:

ItemsControl

I want the items which are all text to circle so that the selected item is always centered and the biggest. I should not be 3D since I like the fact that the unselected items don't overlap and are still readable. Most carousel implementations I saw made the impression to be too heavyweight for this scenario or to look good only with pictures.

I have the feeling this should be doable with some storyboards alone but it seems I'm not far enough into the WPF to get it done properly.

I hope you can point me in the right direction.

Thanks for your help.


Solution

  • This blog post has a good description of how you can implement this