This repository contains 4 sample WPF/MVVM applications that implement different techniques to deal with fast changing properties in the Model.
- Project
Problem
keeps the ViewModel synchronized with the Model - Project
Solution1
uses Reactive Framework'sSample()
to reduce the frequency - Project
Solution2
uses aDispatcherTimer
in the ViewModel - Project
Solution3
attaches toCompositionTarget.Rendering
They all use the same Model
class from the Common
project.
See my blog post: [WPF/MVVM] How to deal with fast changing properties