Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WPF animation idea for flipping a page

I need an idea how to do the following animation idea. Lets assume I have a view model defined as such:

public interface IMyViewModel
{
   IPage CurrentPage { get; set;}
}

public interface IPage
{
   string Title { get; set; }
   string Description { get; set; }
}

The IPage object is, plainly spoken, a piece of paper with the title and the description written on it. When the IPage object changes in my view model I want to have an animation as outlined below: animation outline

The paper should spin 180°. At the stage when it spun 90° I need to update the shown content.

Is that possible with my view models? Are there any nice WPF tricks for that?

like image 780
Yggdrasil Avatar asked Oct 27 '16 14:10

Yggdrasil


1 Answers

Kind of old but still somewhat cool: Avalon Patient Monitoring. You may want to look at Rotater3DTransition.xaml and Flipper3DTransition.xaml.

enter image description here

like image 78
jsanalytics Avatar answered Oct 15 '22 16:10

jsanalytics