Introduction
Windows
Presentation Foundation (WPF) is a major component of .NET
3.0/3.5. The API provides a new model for building
traditional desktop UIs as well as a new generation of smart
client / web aware GUI applications. This course will dive
into the WPF object model, the role (and use of) XAML as
well as the WPF development tools. Attendees will
investigate the WPF data binding engine, available layout
managers, and the construction of styles and templates. This
course also introduces the 2D, 3D, video and animation APIs
exposed by the Windows Presentation object model. We wrap up
with an examination of XBAP (Xaml Browser Applications) and
the role of WPF/E.
Audience
The target audience for
this clinic includes the following:
Developers with solid experience writing applications using
.NET 2.0
At Course Completion
After completing this course,
students will understand:
• WFP object model and use of XAML
• Use of WPF developments tools
• Control content model and layout managers
• Data binding, styles, graphics
• Navigation Applications and XBAPsBuild WPF applications
using XAML, code files and Visual Studio
Prerequisites
Before attending this
course, students must have:
• Experience with Visual Studio IDE
• Firm grounding in OOP
• Firm grounding in .NET 2.0 development
• Solid understanding of C# or Visual Basic
Course Outline
Module 1: Introducing
WPF
Lessons
• The Motivation Behind WPF
• The WPF Feature Set
• WPF Development Tools ("Orcas", Microsoft Blend, etc)
• WPF Assemblies and Namespaces
• Previewing XAML
• Build a WPF App Using 100% Code
• The Code, XAML, BAML Relationship
• The Use of WPF Code Files
Module 2: WPF Controls
Lessons
• A Survey of WPF Controls
• Understanding the Control Content Model
• Defining WPF Controls in Code and XAML
• Handling Input and Working with Commands
• The Role of Routed Events
• Examining WPF Property Syntax
• Survey of WPF Layout Managers
• Nesting Layout Managers
• Standard and Custom Dialog Boxes
Module 3: WPF Graphical Rendering Services
Lessons
• Understanding "Retained Rendering"
• The Role of the Visual Type
• Introducing 2D Rendering Services
• Introducing 3D Rendering Services
• Working with WPF Animation Services
• Integration of Video and Sound
Module 4: WPF Navigation Applications
Lessons
• Navigation Windows and Pages
• The WPF Page Model
• Navigation between Pages
• Page and Navigation Lifetime
• Xaml Browser Applications (XBAPs)
• Overview of XBAP Securityns