Explain how objects can notify the UI of changes.
There are three methods
Implement INotifyPropertyChanged and raise an event every time the property changes
Implement the property as a DependencyProperty (which automatically handle change notification)
Create an event named after the property named MyPropertyChanged. WPF automatically searches for this event if an object does not impliment INotifyPropertyChanged or DependencyProperty
No comments:
Post a Comment