Learn Enterprise WPF with XAML from Scratch

Learn how to create a powerful Windows application with rich UI on WPF platform.
4.3 (273 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
2,662 students enrolled
$19
$20
5% off
Take This Course
  • Lectures 106
  • Length 3.5 hours
  • Skill Level All Levels
  • Languages English, captions
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 4/2016 English Closed captions available

Course Description

Learn deeply the concepts and tools that you will need to build fully functional UI-applications with the modern UI-building framework, Windows Presentation Foundation (WPF).

Teaching Approach

No fluff, no ranting, no beating the air. I esteem your time. The course material is succinct, yet comprehensive. All important concepts are covered. Particularly important topics are covered in-depth. For absolute beginners I offer my help on Skype absolutely free, if requested.

Take this course and you will be satisfied.

Build a strong foundation in WPF with this course

Today, almost all applications have rich UI, console applications are very specific. Learning the essentials of WPF puts a powerful and very useful tool at your fingertips. Being familiar with WPF will make it absolutely easy to move to Universal Windows Platform (UWP) if needed, because these technologies rely basically on the same principles and they are both XAML-based.

Content and Overview

This course is primarily aimed at beginner to intermediate developers. It provides solid theoretical base reinforced by tons of practical material.

WPF is a very wide platform and it’s impossible to cover all its features in a single course, or in a single book. That’s why this course includes all the topics needed for the developing of a full-fledged Windows UI-application, sacrificing some advanced topics such as interoperation with Windows Forms, skinning, creating custom markup extensions etc.

The most beneficial aspect of this course is that it gives you the deep understanding of the platform. For example, you will understand how the layout process really works. It helps to compose XAML quicker. Sometimes you’ll find yourself baffled by the events system of WPF without deep understanding of how it really works.

In short, the course covers the following topics:

  • Basic notions of UI-development
  • Controls
  • Layout
  • Data-Binding
  • Core-Types of WPF
  • Events and Dependency Properties
  • Templates
  • Resources
  • Styles
  • User Controls
  • Custom Controls
  • WPF application model (threading model, app life-cycle)

In the end we will recap what you have learned and you will try to understand where you have to go further with intention to master your skills. Here we will have a discussion of different paths you can go on.

What are the requirements?

  • You should already be familiar with the basics of C#

What am I going to get from this course?

  • Compose complex layouts
  • Harness the full power of controls
  • Apply data binding
  • Create bindable properties
  • Create and apply custom templates
  • Create and apply resources
  • Make UI looking stylish
  • Develop full-fledged WPF applications

What is the target audience?

  • Beginners to quickly start developing Windows apps with rich UI
  • Any experienced WPF-developer who would like to refine their knowledge in the platform

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Introduction
How to Ask Questions
Article
03:29

Welcome to the course "Learn Enterpeise WPF with XAML from Scratch"! 

In this lecture I'll reveal the list of topics you are going to learn.

03:22

This lecture is about advantages of WPF framework. Windows Forms is still alive. So you have to make a choice.

03:03

In this lecture you'll get acquainted with the WPF Architecture: its layers and responsibility of that layers. This is important think for overall understanding of what WPF is in essence.

01:15

Whether WPF is alive? This lecture answers this question!

02:08

What is the relationship between .NET and WPF today?

02:47

Support and great Tooling are very important things of any framework and WPF is not an exception. Learn more about how Visual Studio and Blend support WPF.

06:00

This topic is kind of optional to learn. It is not connected with WPF directly on a half. But I encourage you to learn this lecture, because it gives you the understanding of some basic notions like "Pixel", "Aspect Ratio", "Independent Resolution in WPF" and so on.

07:21

In this lecture you'll see XAML in Visual Studio in action.

Summary
00:58
Intro Quiz
6 questions
Section 2: Controls
00:40

This module is all about WPF controls. We are going to talk about buttons, Expander, GroupBox, Slider, ProgressBar and many other controls.

02:38

This lecture shows the overall hierarchy of WPF controls.

00:42

This lecture shows the overall WPF buttons classes hierarchy.

08:25

You'll see WPF buttons in this lecture in practice: how ToggleButton works, regular Button, CheckBoxes, RadioButtons.

00:45

In this lecture you'll see the diagram which shows the hierarchy of Headered Content Controls.

01:00

In this lecture you'll see two WPF Headered Content Controls: GroupBox and Expander.

01:01

In this lecture you'll see the diagram which shows the hierarchy of WPF Range Controls. Range Controls are controls which represent a value within the allowed range.

02:47

Slider is a Range Control which allows to its users to set\change a value by dragging a thumb.

01:14

This lecture shows in practice a ProgressBar. Usually, it is used for displaying the progress of a long-running task.

01:48

In this lecture you'll be acquainted with Items Controls. The classes hierarchy is shown.

01:20

In this lecture I'll introduce Selectors. Selectors allow to select indexed items. In the following lectures you'll get acquainted with ComboBox, ListBox and TabControl as the most commonly used selectors.

04:21

Look at a ComboBox - control which has a dropdown box.

02:58

Look at how to use ListBox with a DataTemplate in practice.

00:46

In this lecture you will look at a TabControl which separates content by pages.

TreeView Demo
01:09
04:20

In this lecture you will learn how to use text controls such as Label, TextBox and TextBlock (which actually is not a control).

01:39

In this screen cast you will learn the features of the Image control. We are not going to look at this control in a separate lecture. You'll see this Control many times throughout the course.

01:02

This lecture shows Menu, StatusBar and ToolBar.

Summary
01:03
Controls Quiz
16 questions
Section 3: Layout
00:56

WPF is a unique framework and it introduces its own unique two-stage layout process. In this module you'll learn how layout process really works. Also, you'll learn how to position and size UI-elements, how to arrange UI-elements using Panels.

01:05

In this lecture you will learn on which WPF Core Types the layout is based on.

01:55

Learn the two-step layout process implemented in WPF.

Layout Process Demo
05:02
02:16

In this lecture you'll see what properties are responsible for sizing UI-elements in WPF.

04:04

In this lecture you'll see how sizing works in practice. Do you know about ActualSize property?

01:13

Learn about positioning UI-elements in WPF. You'll learn how to use Alignments.

01:32

In this lecture you'see in practice how Horizontal, Vertical, HorizontalContent and VerticalContent Alignments work in practice in WPF.

00:53

ViewBox is a control which supports scaling of its content.

02:40

In this lecture you'll see in practice how Stretch and StretchDirection works.

00:47

You'll get acquainted with the panel's base class "Panel".

00:55

In this lecture you'll get acquainted with the Canvas panel which provides absolute positioning of its child elements.

00:31

In this lecture you'll take a brief look at the Canvas panel which provides absolute positioning of its child elements.

01:00

In this lecture you'll get acquainted with the WrapPanel panel which provides arranging its child elements into stacks with wrapping.

01:08

In this lecture you'll take a brief look at the WrapPanel panel which provides arranging its child elements into stacks with wrapping.

00:49

In this lecture you'll get acquainted with the DockPanel panel which provides docking of its child elements to the sides of a panel.

00:58

In this lecture you'll take a brief look at the DockPanel panel which provides docking of its child elements to the sides of a panel.

02:22

In this lecture you'll get acquainted with the GridPanel panel which provides arranging child elements by rows and columns.

01:36

In this lecture you'll take a brief look at the GridPanel panel which provides arranging child elements by rows and columns.

Summary
01:35
Layout Quiz
8 questions
Section 4: Properties and Events
Outline
00:44
01:13

Learn the difference between Logical and Visual trees.

03:00

Learn the features of a unique WPF properties system.

01:55

This lecture shows how to create and use an attached property in practice.

01:58

This lecture reveals the algorithm of determining the value of a DP.

01:06

WPF introduces its own unique event system. WPF events called "Routed Events" because they can bubble and tunnel.

06:08

In this lecture you'll learn the peculiarities of bubbling, tunneling and direct events in WPF.

Summary
00:51
Properties and Events Quiz
5 questions
Section 5: Data Binding
01:04

Data Binding is a very powerful feature of WPF. This module is all about Data Binding. In this lecture I'll outline the topics of this module.

02:13

Learn the main properties of the Binding type.

05:17

In this lecture you'll see how bindings work in practice. How to bind one element's dependency property to another.

01:18

Learn the ways of setting the Source object.

07:40

WPF provides several ways of setting the connection between the source and target objects. Learn how to set Source using StaticResource, how to set DataContext and how to use RelativeSource markup extension in practice. 

02:05

In this lecture you'll get acquainted with the INotifyPropertyChanged interface.

03:13

In this lecture you'll be introduced to the ObservableCollection. It provides notifications of collection changes.

DataGrid
Article
01:09

WPF introduces Converters in order to build a bridge between incompatible types.

02:15

Learn how to create your own Binding Converter and how to apply it to a binding.

00:47

WPF supports asynchronous bindings, because everything nowadays is asynchronous.

02:05

I'll show in this lecture how WPF application is hanging when a data binding performs long running task and how to fix such a problem using Asynchronous Binding.

Summary
00:54
Data Binding Quiz
7 questions
Section 6: Resources
00:48

WPF Resource system is extremely important. Bindings, Styles, Templates, gosh... almost everything is based on WPF Resources in WPF.

01:28

Learn which build actions you can set to work with resources. You'll see the following options: Content, Resource, EmbeddedResource.

02:52

Learn how to use build actions in practice. You'll see the following options: Content, Resource, EmbeddedResource. You'll see how to retrieve an image from the EmbeddedResource.

01:22

Almost all declared resources in WPF are Logical Resources.

00:37

Look at an example of logical resources in WPF.

01:02

In this lecture you'll learn what Static and Dynamic resource markup extensions mean. How and when to use them in practice in WPF.

01:09

WPF has a complex system of properties and events. This fact leads to a complex algorithm of calculating the final value of Dependency Properties.

00:52

ResourceDictionaries are supported by WPF intrinsically. Resources are always reside in Resource Dictionaries.

01:12

In this demo you'll see how to use add and how to work with resource dictionaries in WPF.

Summary
00:44
Resources Quiz
7 questions
Section 7: Styles, Triggers, Templates, Skins
01:09

WPF provides super powerful features: 

  • Styles to make applications looking cool
  • Triggers to enhance different behavioral and looking aspects
  • Templates to completely restyle WPF controls
  • Skins to completely restyle applications on the fly
00:53

Styles are used to make WPF applications look, well, stylish. They help to aggregate properties with setters in order to reuse them as Styles.

06:17

In this lecture you will learn how to create and apply styles in practice.

00:55

In this lecture we will introduce WPF Triggers. They are used to make UI-elements reactive.

02:28

In this lecture you'll learn how to create and apply all kinds of triggers: 

  • Property Trigger
  • Data Trigger
  • Event Trigger
01:31

WPF Controls are "lookless". In order to define a custom look you can use templates.

03:20

In this demo you'll learn how to create and apply a custom template in WPF.

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Elias Fofanov, Software Engineer

I'm thankful enough for that I love what I do.

I began my career as a postgraduate student participating in Microsoft ImagineCup contest.

I've been working with .NET platform since 2003. I've been professionally architecting and implementing software for nearly 7 years, primarily based on .NET platform. I'm passionate about building rich and powerful applications using modern technologies. I'm a certified specialist in Windows Applications and Service Communication Applications by Microsoft.

"If it's work, we try to do less. If it's art, we try to do more." - Seth Godin.

What I can say is that software is my art.

Ready to start learning?
Take This Course