Learn advanced concepts in WPF and PRISM
This course covers more advanced topics in Windows Presentation Foundation, including printing, threading, and interop. This course also covers on the concepts required to build a composite application with the Microsoft Patterns and Practices Prism 4.0 framework.
Course Schedule
| Date | Registration |
| October 26th and 27th 2011 | Closed |
| November 14th and 15th 2011 | Open |
Course Contents
Module 1: Reusable UI
Lessons
- Resource Reuse
- Template Reuse
- Xaml File Reuse
- Xaml with Codebehind
- UserControl
- Xaml: One per Class
- Runtime Xaml Parsing
- Custom Elements
- Custom Controls
- API Considerations
- Properties
- Commands
- Events: Defining
- Events: Handling
- Contract With Templates
- Themes
- Designer Integration
- Designer Extensibility Options
- Metadata Providers
Module 2: Printing
Lessons
- XPS
- XpsDocumentWriter
- Simple Printing
- Multiple Pages
- Visuals Collator
- DocumentPaginator
- Multi-page XPS
- Asynchronous Printing
- PrintTicket
- PrintDialog
- Queues and Servers
Module 3: Styles
Lessons
- Styles and Properties
- Resources
- Extending Styles
- Style vs Local Properties
- Triggers
- Animation Triggers (Properties)
- Animation Triggers (Events)
- Items Container Style
- Styles, Templates, and Controls
Module 4: Threading and Services
Lessons
- Responsive UI
- WPF Threading Model
- The Golden Threading Rule
- The Golden Responsiveness Rule
- Resolving the Rules
- Async Work
- DispatcherPriority
- DispatcherOperation
- SynchronizationContext
- Asynchronous Options
- v1 Asynchronous Pattern
- Event-based Asynchronous Pattern
- Thread Pool
- Create Your Own Thread
- Data Binding and Threading
- WCF and v1 Async Pattern
- WCF and Data Binding
Module 5: Interop
Lessons
- Interoperability
- Mixing UI Technologies
- WPF and HWNDs
- Interop Not Free
- Limitations of Interop
- Clipping
- Z Order
- Animation
- Opacity Property
- Pseudo Transparency
- Multiple Top-Level Windows
- Input Differences
- Interop Combinations
- Win32 Outside
- Win32 Inside
- HwndHost Keyboard Handling
- Message Pumps
- Windows Forms Outside
- Windows Forms Inside
- Windows Forms and Layout
- Ambient Properties
Module 6: Introduction to PRISM
Lessons
- Getting Started with Prism
- Bootstrapper and the Shell
- Regions
- Modules
- Views
- Communication




