Windows Presentation Foundation Using C#
Current Version: 2.0
This course introduces Windows Presentation Foundation or WPF (Avalon),
the new .NET technology from Microsoft for building rich Windows
applications. It was originally part of .NET 3.0, previously called
WinFX by Microsoft. WPF includes an XML-based markup language for
defining program elements, Extensible Application Markup Language
(XAML). WPF applications can be created using only code or a
combination of code and XAML pages. This course covers the essentials
of WPF, providing an orientation to this technology and a firm
foundation for creating applications. The course is current to .NET 3.5
and Visual Studio 2008.
WPF is a complex technology that can have a steep learning curve. This
course approaches the subject in a practical manner, introducing the
student to the fundamentals of creating Windows applications using the
features of WPF. It includes coverage of both traditional concepts such
as controls and new concepts such as XAML, flexible layout, logical
resources, dependency properties, routed events, and the
loosely-coupled command architecture of WPF. The course also covers
data binding, styles, templates, skins and themes.
The course is hands-on with many example programs and lab exercises.
A working knowledge of C# and the .NET Framework
On completion of this course, the student should be able to
Gain an understanding of the philosophy and architecture of
Create Windows applications using the classes provided by WPF
Understand the principles of XAML and create applications
using a combination of code and XAML
Use the layout features of WPF to create flexible and
attractive user interfaces
Implement event and command-driven applications with windows,
menus, dialogs, toolbars, and other common user interface features
Use more advanced features of WPF such as dependency
properties, routed events, logical resources, styles, templates, and
Instructor-led course, with practical computer-based exercises.
1. Introduction to WPF
What Is WPF?
.NET Framework 3.0 (WinFX)
Application and Window
A Simple WPF Application
Using Visual Studio
Role of XAML
Elements and Attributes
XAML and Procedural Code
3. WPF Controls
Win32 Common Dialogs
Custom Modal Dialogs
Custom Modeless Dialogs
6. Menus and Commands
Icons on Menu Items
Disabling Menu Items
Checking Menu Items
7. Toolbars and Status Bars
Toolbars and Commands
8. Dependency Properties and Routed Events
Property Value Inheritance
Support for Multiple Providers
Resources in WPF
Static versus Dynamic Resources
10. Data Binding
Sharing Sources with DataContext
11. Styles, Templates, Skins and Themes
Templated Parents Properties
Appendix A. Learning Resources
Hardware and Software Requirements
The following software is required:
· A version of Windows that supports the .NET Framework 3.5.
This includes Windows XP with at least Service Pack 2 and Windows
· The .NET Framework 3.5.
· Visual Studio 2008 Standard Edition or higher.
A good minimal hardware profile for this course would have a 1 GHz or
better CPU, 512 MB of RAM, and at least 4 GB of free disk space for
tools installation and courseware.
See the appropriate course Setup Guide for details.
Oracle and Java are registered trademarks of Oracle and/or its affiliates.
PL/SQL and SQL*Plus are trademarks or registered trademarks of Oracle
Corporation. Microsoft is either a registered trademark or trademark of Microsoft
Corporation in the United States and/or other countries. MVS is a registered
trademark of the International Business Machines Corp. in the U.S. or other
countries or both. Motif, OSF/1, UNIX, and the "X Device" are registered
trademarks and IT DialTone and The Open Group are trademarks of The Open Group
in the U.S. and other countries. All other trademarks are the property of
their respective owners.