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).
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:
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.
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.
This lecture is about advantages of WPF framework. Windows Forms is still alive. So you have to make a choice.
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.
What is the relationship between .NET and WPF today?
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.
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.
In this lecture you'll see XAML in Visual Studio in action.
This module is all about WPF controls. We are going to talk about buttons, Expander, GroupBox, Slider, ProgressBar and many other controls.
This lecture shows the overall hierarchy of WPF controls.
This lecture shows the overall WPF buttons classes hierarchy.
You'll see WPF buttons in this lecture in practice: how ToggleButton works, regular Button, CheckBoxes, RadioButtons.
In this lecture you'll see the diagram which shows the hierarchy of Headered Content Controls.
In this lecture you'll see two WPF Headered Content Controls: GroupBox and Expander.
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.
Slider is a Range Control which allows to its users to set\change a value by dragging a thumb.
This lecture shows in practice a ProgressBar. Usually, it is used for displaying the progress of a long-running task.
In this lecture you'll be acquainted with Items Controls. The classes hierarchy is shown.
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.
Look at a ComboBox - control which has a dropdown box.
Look at how to use ListBox with a DataTemplate in practice.
In this lecture you will look at a TabControl which separates content by pages.
In this lecture you will learn how to use text controls such as Label, TextBox and TextBlock (which actually is not a control).
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.
This lecture shows Menu, StatusBar and ToolBar.
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.
In this lecture you will learn on which WPF Core Types the layout is based on.
Learn the two-step layout process implemented in WPF.
In this lecture you'll see what properties are responsible for sizing UI-elements in WPF.
In this lecture you'll see how sizing works in practice. Do you know about ActualSize property?
Learn about positioning UI-elements in WPF. You'll learn how to use Alignments.
In this lecture you'see in practice how Horizontal, Vertical, HorizontalContent and VerticalContent Alignments work in practice in WPF.
ViewBox is a control which supports scaling of its content.
In this lecture you'll see in practice how Stretch and StretchDirection works.
You'll get acquainted with the panel's base class "Panel".
In this lecture you'll get acquainted with the Canvas panel which provides absolute positioning of its child elements.
In this lecture you'll take a brief look at the Canvas panel which provides absolute positioning of its child elements.
In this lecture you'll get acquainted with the WrapPanel panel which provides arranging its child elements into stacks with wrapping.
In this lecture you'll take a brief look at the WrapPanel panel which provides arranging its child elements into stacks with wrapping.
In this lecture you'll get acquainted with the DockPanel panel which provides docking of its child elements to the sides of a panel.
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.
In this lecture you'll get acquainted with the GridPanel panel which provides arranging child elements by rows and columns.
In this lecture you'll take a brief look at the GridPanel panel which provides arranging child elements by rows and columns.
Learn the difference between Logical and Visual trees.
Learn the features of a unique WPF properties system.
This lecture shows how to create and use an attached property in practice.
This lecture reveals the algorithm of determining the value of a DP.
WPF introduces its own unique event system. WPF events called "Routed Events" because they can bubble and tunnel.
In this lecture you'll learn the peculiarities of bubbling, tunneling and direct events in WPF.
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.
In this lecture you'll see how bindings work in practice. How to bind one element's dependency property to another.
Learn the ways of setting the Source object.
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.
In this lecture you'll get acquainted with the INotifyPropertyChanged interface.
In this lecture you'll be introduced to the ObservableCollection. It provides notifications of collection changes.
WPF introduces Converters in order to build a bridge between incompatible types.
Learn how to create your own Binding Converter and how to apply it to a binding.
WPF supports asynchronous bindings, because everything nowadays is asynchronous.
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.
WPF Resource system is extremely important. Bindings, Styles, Templates, gosh... almost everything is based on WPF Resources in WPF.
Learn which build actions you can set to work with resources. You'll see the following options: Content, Resource, EmbeddedResource.
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.
Almost all declared resources in WPF are Logical Resources.
Look at an example of logical resources in WPF.
In this lecture you'll learn what Static and Dynamic resource markup extensions mean. How and when to use them in practice in WPF.
WPF has a complex system of properties and events. This fact leads to a complex algorithm of calculating the final value of Dependency Properties.
ResourceDictionaries are supported by WPF intrinsically. Resources are always reside in Resource Dictionaries.
In this demo you'll see how to use add and how to work with resource dictionaries in WPF.
WPF provides super powerful features:
Styles are used to make WPF applications look, well, stylish. They help to aggregate properties with setters in order to reuse them as Styles.
In this lecture you will learn how to create and apply styles in practice.
In this lecture we will introduce WPF Triggers. They are used to make UI-elements reactive.
In this lecture you'll learn how to create and apply all kinds of triggers:
WPF Controls are "lookless". In order to define a custom look you can use templates.
In this demo you'll learn how to create and apply a custom template in WPF.
Skin is not a concept of WPF. Skin is a set of styles and templates which can be applied to the application in the runtime.
This demo shows how to change skins in WPF on the fly (in the runtime).
In this module we are going to look at User Controls and Custom Controls. These features allow us to reuse WPF UI-related code.
In this lecture you'll learn how to decide whether you should use either a User or Custom control.
In this lecture you'll see a practical example of retrieving a chunk of reusable XAML-code and reusing it as a UserControl.
In this demo you'll see how to create your own button in WPF, which provides the new property CornerRadius.
In this module I'll outline the topics of this module. WPF has its own application model, which is quite similar to Windows Forms.
In this lecture you'll learn how WPF application starts and where is the Main entry point.
I'll introduce here the startup process of WPF applications.
I'll introduce here the shutdown process of WPF applications.
Look at WPF application life cycle events in practice.
In this lecture you'll learn what is STA and how WPF manages UI-threads and UI-elements ownership.
In this demo you'll see how threading works in practice in WPF applications.
In this lecture you'll learn what is Global Exceptions Handling and what is the purpose of this approach.
In this demo you'll see how to handle global exception events to prevent your WPF application from crash and to log exception information.
You can download source code for this course here.
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.