Windows Presentation Foundation Using .NET Core
Rev. 3.0


.NET Training Overview

This course introduces Windows Presentation Foundation or WPF, the .NET technology from Microsoft for building rich Windows applications. 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 Visual Studio 2019 and the latest versions of.NET Core.

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.

This course is designed to run on .NET Core, an open source and modular implementation of the .NET Framework. As of .NET Core 3.0, it is now very complete and represents the future direction of .NET software from Microsoft, although the classical .NET Framework will continue to be supported. The course also is designed for Windows 10. (Windows 7 is now out of support by Microsoft.) Since WPF uses Windows-specific features, it only supports UI programs running on Windows.

The course is hands-on with many example programs and lab exercises.

.NET Training Learning Objectives

  • Gain an understanding of the philosophy and architecture of WPF
  • 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, and logical resources
.NET Training Prerequisites

A working knowledge of C# and the .NET Framework

.NET Training Course duration

3 days

.NET Training Course outline

1. Introduction to WPF
  • Why WPF?
  • What Is WPF?
  • .NET Core and WPF
  • WPF Overview
  • Application and Window
  • A Simple WPF Application
  • Using Visual Studio 2019
  • Brushes
  • Panels
2. XAML
  • Role of XAML
  • Elements and Attributes
  • Namespaces
  • Property Elements
  • Type Converters
  • Content Property
  • Collections
  • XAML and Procedural Code
3, WPF Controls
  • Button
  • Label
  • TextBox
  • ToolTip
  • RadioButton
  • CheckBox
  • ListBox
  • ComboBox
4. Layout
  • Sizing
  • Positioning
  • Transforms
  • Canvas
  • Drawing Shapes
  • StackPanel
  • WrapPanel
  • DockPanel
  • Grid
  • Scrolling
  • Scaling
5. Dialogs
  • Message Boxes
  • Win32 Common Dialogs
  • Custom Modal Dialogs
  • Custom Modeless Dialogs
6. Menus and Commands
  • Menus
  • Context Menus
  • Icons on Menu Items
  • Commands
  • Keyboard Shortcuts
  • Disabling Menu Items
  • Checking Menu Items
7. Toolbars and Status Bars
  • Toolbars
  • Toolbars and Commands
  • Status Bars
8. Dependency Properties and Routed Events
  • Dependency Properties
  • Change Notification
  • Property Value Inheritance
  • Support for Multiple Providers
  • Routed Events
  • Routing Strategies
9. Resources
  • Resources in WPF
  • Binary Resources
  • Logical Resources
  • Static versus Dynamic Resources
Appendix A. Learning Resources

System Requirements

Required software is Visual Studio 2019, which includes .NET Core 3.1. The free Visual Studio Community 2019 can be used. The operating system should be Windows 10 or more recent. See the appropriate course Setup Guide for details.
A good minimal hardware profile for this course would have a 2 GHz or better CPU, 4 GB of RAM and at least 10 GB of free disk space for tools installation and courseware.


Wintrac Inc.
16523 SW McGwire Ct.
Beaverton OR 97007
© Wintrac, Inc. All rights reserved.                                                                               Site Map   |   Terms of Use   |   Privacy Policy