Skip to main content

Instructor-led training

Windows Presentation Foundation, Rev. 8.0 Training in Kilgore, Texas

Private .NET training for organizations from Hartmann Software Group, delivered onsite in Kilgore, Texas or live online.

What you'll learn

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 2022 and.NET 8, 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.

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

Private Training for Teams

This course is offered as private, instructor-led training for organizations, onsite in Kilgore, Texas or live online. Dates, delivery format, and course content are arranged around your team's requirements.

This course is not currently scheduled as a public class for individual enrollment.

Request Group Training

Prerequisites

A working knowledge of C# and the .NET Framework

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

What makes WPF hard to master

The C# is rarely the obstacle. The difficulty is that WPF replaces several habits from older Windows UI frameworks, and the syllabus introduces those replacements in a deliberate order.

  • XAML is object construction, not a separate language. Elements are classes and attributes are properties. The XAML module covers namespaces, property elements, type converters, the content property and collections, which explain why a short attribute string or nested element works. It also covers how XAML and procedural code work together, which is where many beginners get stuck.
  • Layout is negotiated, not pixel-placed. The layout module moves from sizing and positioning to Canvas, StackPanel, WrapPanel, DockPanel and Grid, then scrolling and scaling. A common mistake is to position everything absolutely and then fight resizing.
  • Dependency properties are not ordinary properties. The syllabus covers change notification, property value inheritance and support for multiple providers. Without that model, behavior such as a value that is set but ignored is hard to explain.
  • Routed events travel through the element tree. Routing strategies determine which element sees an event, and which handler runs is often a surprise at first.
  • Static and dynamic resource references behave differently. The resources module separates binary from logical resources and static from dynamic lookup.

The topics build on each other. Controls and layout come first, then dialogs, menus, commands, toolbars and status bars. These give context for dependency properties and routed events, which in turn explain how commands and resources behave.

Who this course suits and what to take around it

The course is introductory to WPF but assumes a working knowledge of C# and the .NET Framework. It suits developers building or maintaining Windows desktop applications, and training managers onboarding developers to an existing WPF code base. WPF runs only on Windows, so the course is relevant only to Windows desktop work.

If your team's C# is still shaky, C# Essentials covers the language foundation that the WPF labs build on. After this course, .NET Design Patterns and Principles is a natural step for teams who want to structure larger applications deliberately.

The course materials use .NET 8 and Visual Studio 2022. Microsoft ended support for .NET 8 in November 2026, so the course fits teams that maintain, support or migrate existing applications on that version. Visual Studio 2022 and 2026 are both supported. Organizations on a newer .NET release can ask for private training tailored to the versions they use through a training proposal request.

Illustrative applications of the syllabus topics

The scenarios below are illustrations of how the course material can be applied. They are not descriptions of specific organizations or of the course's lab exercises.

  • A data-entry tool for internal staff. A team might combine TextBox, ComboBox, RadioButton and CheckBox controls in a Grid layout that survives window resizing. Custom modal dialogs would handle confirmations, and ToolTips would explain fields.
  • A document-style editor with familiar commands. A team might define commands once and attach them to menu items, context menus, toolbar buttons and keyboard shortcuts. Menu items would then enable, disable and check themselves from command state instead of from scattered event-handler code.
  • A maintenance task on an existing desktop application. A developer might need to find out why a style change is not applied, or why a click handler fires on the wrong element. Knowing resource lookup, property value inheritance and routing strategies turns that guesswork into a systematic search.

AI coding assistants and WPF

AI coding assistants are useful for XAML boilerplate: a first-draft Grid with row and column definitions, a menu with icons, or the standard dependency property registration pattern. They also help explain unfamiliar markup in an inherited code base.

They tend to fail in the places this syllabus treats as hard:

  • Layout. Generated markup often nests panels needlessly or hard-codes sizes, which breaks resizing and scaling.
  • Framework mix-ups. Suggestions can borrow properties, namespaces or events from other UI frameworks that do not exist on WPF classes, or from .NET releases other than the one you target.
  • Dependency properties and events. An ordinary property may be generated where a dependency property is needed, so change notification and inheritance never happen. Routed events may be handled at the wrong level of the tree.
  • Resources. Static and dynamic references are easily swapped, which only shows up when a resource changes at run time.

To verify, build and run every generated fragment and resize the window. Check that each API exists in your targeted .NET version. Confirm that commands enable and disable correctly, and step through event routing in the debugger instead of trusting an explanation. The course gives you the vocabulary to review generated code, not just accept it.

Frequently asked questions

What level is this course?

It is introductory to WPF, running three days. It assumes you already program in C#, so it teaches the WPF framework, not the language.

What should I know before attending?

A working knowledge of C# and the .NET Framework. If C# is new to your team, C# Essentials is a sensible step beforehand.

What does the course cover?

It covers WPF architecture, XAML, common controls, layout panels, dialogs, menus and commands, toolbars and status bars, dependency properties, routed events, and binary and logical resources. It combines example programs with lab exercises.

Can the course be delivered privately, onsite or online?

Yes. HSG delivers private training for organizations at the client's location or live online.

Can the content be customized?

Private training can be customized, including to the .NET and Visual Studio versions your organization uses. Request a training proposal to discuss your needs.

Training locations

Windows Presentation Foundation, Rev. 8.0 training across the U.S. and beyond.

We provide private Windows Presentation Foundation, Rev. 8.0 training for organizations, onsite at your location or live online, throughout the United States and internationally.

View all Windows Presentation Foundation, Rev. 8.0 training locations

Train your team with HSG

Private, instructor-led training customized for your organization.

  • Onsite or live online delivery
  • Customized curriculum
  • For a single employee or an entire team
  • Flexible scheduling
  • Experienced instructors
Request Group Training

Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com

Ready to train your team?

Let's customize this training for your organization.

Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.