Windows Presentation Foundation, Rev. 10.0

Course Description

WPF is a complex technology that can have a steep learning curve. This course approaches the subject in a practical manner, introducing participants 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.
3 Days
Contact us for pricing
 

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

Prerequisites

A working knowledge of C# and.NET Core. Although .NET Core is cross-platform, WPF uses Windows-specific features and thus will only run on Windows platforms.

Introduction to WPF

Why WPF?
What Is WPF?
.NET Core and WPF
WPF Overview
Application and Window
A Simple WPF Application
Using Visual Studio 2026
Brushes
Panels

XAML

Role of XAML
Elements and Attributes
Namespaces
Property Elements
Type Converters
Content Property
Collections
XAML and Procedural Code

WPF Controls

Button
Label
TextBox
ToolTip
RadioButton
CheckBox
ListBox
ComboBox

Layout

Sizing
Positioning
Transforms
Canvas
Drawing Shapes
StackPanel
WrapPanel
DockPanel
Grid
Scrolling
Scaling

Dialogs

Message Boxes
Win32 Common Dialogs
Custom Modal Dialogs
Custom Modeless Dialogs

Menus and Commands

Menus
Context Menus
Icons on Menu Items
Commands
Keyboard Shortcuts
Disabling Menu Items
Checking Menu Items

Toolbars and Status Bars

Toolbars
Toolbars and Commands
Status Bars

Dependency Properties and Routed Events

Dependency Properties
Change Notification
Property Value Inheritance
Support for Multiple Providers
Routed Events
Routing Strategies

Resources

Resources in WPF
Binary Resources
Logical Resources
Static versus Dynamic Resources

.net coreWPFXAMLWindows Presentation Foundation