Loading...
C#
.NET
App-Development
Desktop

WPF - Windows Presentation Framework

WPF is now the preferred technology for writing desktop applications for Windows - as soon as operating system versions older than Windows 10 need to be supported. In this workshop you will learn the basics of XAML. You will learn how to create appealing user interfaces, dialogs with validation, storing data in the database and calling API services. In this workshop you will not only learn how to create WPF applications - with the help of the MVVM pattern you will learn how to share as much code as possible with different UI technologies, e.g. WinUI and MAUI.

Contents

  • Basics of WPF
  • Controls and Layouts
  • Data Binding and Validation
  • Styles, Resources, Templates, Animations
  • MVVM Pattern
  • Documents

WPF Foundations

We start with an introduction to WPF and the visions that played a major role in the WPF project. With WPF, .NET events are extended - there are tunneling and bubbling strategies, as well as weak events. You will also learn the basics of Dependency Proiperties, Markup Extensions (also write your own Markup Extensions) and more.## Controls and LayoutsYou will learn about different types of controls such as Content Controls, Items Controls, Controls with Headers, create a layout with Grid, StackPanel, WrapPanel, DockPanel and other layout controls. Drawings are made with the help of Canvas Control.## Data Binding and ValidationData Binding is a powerful feature and important topic in WPF. You will learn the basics of data binding, use binding with master-detail models, and define other bindings such as PriorityBinding and MultiBinding. You will also learn to implement Converters and Data Template Selectors. With the CollectionView you can filter and sort, as well as navigate through records. You will also learn Change Notification and Validation with INotifyDataErrorInfo.## Styles, Resources, Templates, AnimationsThe user interface of WPF can be completely customized. Styles and resources are needed for this. You will also learn how to create templates for complete customization of controls. Triggers and Visual States allow dynamic customization.## MVVM PatternIf the application is not quite small, the MVVM Pattern (Model View View-Model) allows independence between XAML and C#. This also allows easier unit testing, as well as reusability of code on other platforms - e.g. with the Universal Windows Platform (UWP) as well as Xamarin. You will learn how to build WPF applications using the MVVM pattern which also means using dependency injection containers, event aggregators, commands and more.## DocumentsXPS (XML Paper Specification) is a subset of WPF. With WPF it is not only possible to easily create XPS documents, but also Flow documents. Here you will learn Flow and Fixed Documents, as well as printing with WPF.

Request Training

Form..RequiredMessage
This field is required.
This field is required.
Please consent to the processing of the data provided