I have a question.
We first set name blank [ string name = " " ; ] . To change property we set name as [ mc.Name = "Adam" ; ]. But, even if we set [ mc.Name = " " ; ], the OnPropertyChanged method still works. Should it work or I miss something ?
Post a Reply
|Oldest Newest Rating|
· January 18, 2015
If you look at how OnChange events are mostly triggerd, you'll see that it should work
As soon as something is assigned to Property, the events will trigger. Regardless of whether the value is different. You can of course implement something like :
This will only trigger the onChange event when the value it receives is actually different.