StockTrader Tab Animation to be used for content control.

Topics: Prism v4 - WPF 4
Jul 10, 2012 at 9:52 PM


I am able to create a transitioning content control for my MVVM/WPF/PRISM application.  I would like to use the AnimatedControlTab style (or at least the animation part of it) but I am struggling moving that style to content control. 

Any help you can provide will be greatly appreciated.


Jul 10, 2012 at 11:21 PM

Let me add little bit of information to help clarify the issue I am running into.  I am able to basically refactor code from TransitioningContentControl (TCC) from Silverlight tool kit and it works with the default 2 animations that comes with the TCC.

Instead of standard animation, I would like to use the animation on the AnimatedTabControl from StockTrader RI and use it in my TCC.  I have not been successful in doing that.   This link should point to a simple example that shows the TCC working but I can not get the same transition from StockTrader to work.

Can you help please?

Jul 11, 2012 at 8:32 PM

Hi BishMan,

I have checked your sample-application and it seems that the animation does not work in your custom control because it uses some specific components defined in its original control template (that is, the template of the AnimatedTabControl) that were not included in your template.

I have modified your sample-application to include the transition used in the AnimatedTabControl:

You can use it as a starting point and customize the animation according to your preferences.

Also, as this is not strictly related to Prism, I believe you might find better support regarding this in the WPF Forums:

I hope you find this useful,

Damian Cherubini