Рет қаралды 48,796
In this tutorial we will learn how to implement the INotifyPropertyChanged in our WPF applications to update property values to be displayed on our views when they are changed. In this episode we create a base 'ObservableObject' class to make this feature universal for all of our view models. We use this to change the background color of our application and to change a name value for a welcome message.
*Looking for a book on C#?
amzn.to/2IgVThZ
ObservableObject.cs - pastebin.com/AjS3UdVK
BackgroundViewModel.cs - pastebin.com/45gJniJ8
PersonViewModel.cs - pastebin.com/ALgRmGfJ
MainViewModel.cs - pastebin.com/nHd1Esk1
MainWindow.xaml - pastebin.com/EyMM60Eq
MainWindow.xaml.cs - pastebin.com/zZMLSRdh
How did you feel about this tutorial?
www.opinionstage.com/tosker/in...
*Support me on Patreon
/ toskerscorner
** Tip Jar **
Paypal: toskerscorner@outlook.com
BTC: 3DkvwvcQ8Vt2U84jdtEhNBx2Ueai3Xttmu
ETH: 0xFf79A145e1ED6F538607Ec374968e605cbea758b
BCH: qqpgrnzuhc5hav4e79m8nfhmugs46jtl0ujxcu0tj5
LTC: MHXQmJA3hkwTPeArB9QPNkcLiHQx723yMb