资 源 简 介
PDX (Property-Driven XAML) is a small, customizable library which can reduce repetitive XAML in WPF applications. PDX can best be summarized as a View-driven layer between the ViewModel and the View. When interesting things happen to certain UI elements (e.g. Instantiated, Loaded, DataContextChanged) the PDX layer does some work to provide enhanced View-ViewModel interaction.
Features
ConventionalDataTemplates - Define conventions to reduce the size and redundancy in XAML
Notification - Forget about INotifyPropertyChanged
Validation - Supports IDataErrorInfo and DataAnnotations, or easily integrate your mechanism(s) of choice
UndoRedo - Out-of-the-box undo/redo support for property edits
Status
Lesson Learned: Mapping objects to objects is tedious but easy. Using POCOs as viewmod