hello,
I wish to know if an event can be raised if a variables value is changed ?
what i wish to do is if a variable changes its value then something should happen(like events happen)
thank you
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Dec 31, 2014, 8:30 AM
Notification is made via the PropertyChanged event.
Check this MSDN link for more details and an example:
http://msdn.microsoft.com/en-us/library/system.componentmodel.inotifypropertychanged%28v=vs.110%29.aspx