Microsoft Private

Windows Presentation Foundation (WPF) Training Using C# (WPF102)

This course introduces Windows Presentation Foundation or WPF, the .

Register or Request Training

  • Private class for your team
  • Live expert instructor
  • Online or on‑location
  • Customizable agenda
  • Proposal responses same day as request

Course 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 2026 and .NET 10, which is an LTS (Long Term Support) version 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.

Although .NET Core is cross-platform, WPF uses Windows-specific features and thus will only run on Windows platforms.

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

Course Benefits

  • 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.

Delivery Methods

Private Class
Delivered for your team at your site or online.

Course Outline

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

Appendix A.  Learning Resources

System Requirements

Course examples require Microsoft Visual Studio 2026 and Windows 10 or higher. Windows 11 is recommended. The free Visual Studio Community 2026 can be used. See the appropriate course Setup Guide for details.

A good minimal hardware profile for this course consists of a 2 GHz or better CPU, 4 GB of RAM and at least 10 GB of free disk space for tools installation and courseware.

Class Materials

Each student receives a comprehensive set of materials, including course notes and all class examples.

Class Prerequisites

Experience in the following is required for this C#/.NET class:

  • A working knowledge of C# and .NET Core

Have questions about this course?

We can help with curriculum details, delivery options, pricing, or anything else. Reach out and we’ll point you in the right direction.