If you are working on XAML in C#, you must know the MVVM pattern. To achieve this, to make the View “react” to the changes in ViewModel, one of the best ways is using ReactiveUI.
This entry is about some reactive ways to bind your data.
One Way Bind
Two Ways Bind
Command Binding
Bind an ICommand to a control, or to a specific event on that control (how this is implemented depends on the UI framework):
Data Type Conversion
We can use expression to convert one data type to another.
Power of BindTo
With normal binding, the source of updating are the changes of binding property. That means for every change, the binding properties will be updated.
But with BindTo, we can decide WHEN and HOW.
The interest thing about BindTo is it can make a binding between 2 view models: