What interface must i implement to be able to create wpf event when some thing changes?
+4
A:
INotifyPropertyChanged.
It's in System.ComponentModel
A small trick when using this interface, when you implement it with an empty delegate you don't have to check if the event is null every time you raise it.
public event PropertyChangedEventHandler PropertyChanged = delegate { };
Sorskoot
2009-03-09 15:13:06
+3
A:
WPF controls inherit DependencyObject class. See: MSDN
For business entities, you could still implement INotifyPropertyChanged.
Sergiu Damian
2009-03-09 15:14:52