Changes between Version 3 and Version 4 of Maestro3UI
- Timestamp:
- Jul 7, 2010, 6:55:30 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Maestro3UI
v3 v4 22 22 == Editor Architeture == 23 23 24 Most editors are now rebuilt to maximize the use of databinding and the [http://msdn.microsoft.com/en-us/library/system.componentmodel.inotifypropertychanged.aspx interface]. All of the xsd generated classes implement INotifyPropertyChanged.24 Most editors are now rebuilt to maximize the use of databinding and the [http://msdn.microsoft.com/en-us/library/system.componentmodel.inotifypropertychanged.aspx INotifyPropertyChanged interface]. All of the xsd generated classes implement INotifyPropertyChanged. 25 25 26 26 The editor infrastructure uses INotifyPropertyChanged to automatically trigger dirty state notification for any editor. This approach is much easier and cleaner than the previous approach, which was to listen for UI events, update the internal model and signal dirty state. Databinding with INotifyPropertyChanged allows us to do all this in one shot (for most cases). Complex cases (such as UIs with grids) may require custom databinding logic, but this is a rare occurrence.