Microsoft Private

Windows Presentation Foundation (WPF113)

3 days

Learn to build rich Windows desktop applications with WPF, XAML, C#, and .NET 10 using flexible layouts, controls, commands, dialogs, and resources.

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

Learn the fundamentals of Windows Presentation Foundation (WPF), Microsoft's .NET technology for building rich Windows desktop applications. Using C# and XAML, you will create applications with flexible layouts, controls, menus, dialogs, toolbars, commands, and reusable resources.

The course also introduces key WPF concepts, including dependency properties, routed events, and logical resources. Hands-on examples and lab exercises provide practical experience with Visual Studio 2026 and .NET 10.

WPF relies on Windows-specific features, so WPF applications run only on Windows.

Course Benefits

  • Explain the architecture and core concepts of WPF.
  • Build Windows desktop applications using C# and WPF classes.
  • Define application interfaces with XAML and integrate them with procedural code.
  • Create flexible, attractive interfaces with WPF layout panels and controls.
  • Develop event- and command-driven applications with menus, dialogs, toolbars, and other common interface elements.
  • Work with 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 Properties
    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 and Dynamic Resources
  10. Learning Resources

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:

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