viewmodel for the transitionpresenter class

Jul 10, 2009 at 11:06 AM


I created a viewmodel for the transitionpresenter class. I also created a small example program for it. This discussion forum maybe is not the place to describe what I did in detail. So I quickly made a blog post that describes in some detail what I did. The link you can find below:

I know there was already a viewmodel for this class but in my blog entry I describe why I created another one.

I had to change the private fields _childContainer and _currentIndex in the TransitionPresenter class to protected in order to make everything work.

Maybe you will find it of use to you.


Jul 13, 2009 at 7:21 PM


I changed the program so now only one extra dependency property is needed to make the transitionpresenter class work with a viewmodel. I called the property WorkspaceNumber. It is the currently selected Page. (So maybe PageNumber or SlideNumber would be better names). It would be nice if this property was added to the TransitionPresenter class so no extended TransitionPresenter class is needed.

Also the viewmodels changed. Now there's a general FluidViewModel you can extend to make you slides, (or pages or workspaces).

The link to the post stayed the same: