WPF Development

Contact Us for Dates
4 days practical workshop for up to 12 people.
Only £1580
Windows Presentation Foundation (WPF) is Microsoft's recommended API for creating compelling and dynamic user interfaces based on XAML. This course provides comprehensive coverage of WPF, explaining how it differs from traditional Windows Forms development. The course also takes a detailed look at the Model-View-ViewModel design pattern and Prism.

Layout

This course is a mixture of lectures and hands on exercises designed to reinforce the topics learnt

Training Course Objectives

  • Understanding XAML syntax
  • Using resources, styles, and triggers
  • Data binding
  • Creating user interface effects
  • Defining control templates
  • Defining attached behaviours
  • Using MVVM and Prism

Training Course Prerequisites

  • Solid C# experience

Chapters

Chapter 1 Getting Started with WPF

  • Overview of WPF concepts and features
  • Creating a simple WPF application

Chapter 2 Event Handling

  • Overview of events
  • Bubbling events
  • Tunnelling events
  • Commands

Chapter 3 Creating a User Interface

  • Page layouts
  • Content controls
  • Range-based controls
  • Items controls
  • Accessing the visual tree
  • Using the Ribbon control in WPF 4.5

Chapter 4 Managing Windows

  • Window essentials
  • Creating modal and modeless dialogs
  • Pages and navigation

Chapter 5 Resources, Styles, and Triggers

  • Logical resources
  • Defining styles
  • Style inheritance
  • Using triggers

Chapter 6 Using Control Templates

  • Overview of control templates
  • Defining control templates for content controls
  • Defining control templates for items controls
  • Resource-only DLLs

Chapter 7 Data Binding

  • Concepts and terminology
  • Binding a data source to a control
  • Binding to static properties in WPF 4.5
  • Handling property-change notifications
  • Conversion and validation
  • Custom binding in WPF 4.5

Chapter 8 Data Binding to a Database

  • Binding to a data object
  • Updating the database

Chapter 9 Data Binding to Collections

  • Binding to a collection
  • Defining data templates
  • Using collection views
  • Binding to ADO.NET data objects
  • Binding to LINQ and XML
  • Live shaping in WPF 4.5

Chapter 10 Shapes, Transforms, and Brushes

  • Defining shapes
  • Creating and using transforms
  • Using brushes effectively

Chapter 11 Multithreading

  • Multithreading with the dispatcher
  • BackgroundWorker
  • Tracking progress
  • Supporting cancellation

Chapter 12 The MVVM Design Pattern

  • Overview of MVVM
  • MVVM application structure
  • MVVM programming techniques

Chapter 13 Prism

  • Overview of Prism
  • Prism key technical concepts
  • Implementing a Prism application

Chapter 14 Creating Windows Store Applications

  • Overview of the Windows Store
  • The role of XAML in a Windows Store application
  • Creating simple user interfaces for Windows Store