Using Prism and MVVMLight to implement the MVVM pattern in WPF

In my previous post, I created a small Windows Presentation Foundation (WPF) application demonstrating Storyboard Animations where I also described how and why to Model-View-ViewModel (MVVM) pattern to the code. Recapping, the benefits of adopting the MVVM pattern include providing a separation of concerns between the application logic and the presentation logic and … Continue reading

WPF Storyboard Animations – part two

In part one I described how to control Storyboard animations using triggers.  I created a demo application to provide an example use case.  In this post I will discuss converting the demo application to adopt the Model-View-ViewModel (MVVM) pattern as well as describing why this is a worthwhile exercise. MVVM What is MVVM?  It … Continue reading

WPF Storyboard Animations – part one

In my previous post I described how DataTrigger and MultiDataTrigger can be used to customise the style of a UserControl . Now I want to expand on the usage of these triggers, specifically to control Storyboard  animations. In this post I will describe how to achieve this using dependency properties (DP) and logic … Continue reading