Intro to WPF: Learn the basics and best practices of WPF for C#

preview_player
Показать описание

Want to see a full C# application built from scratch?

In this video, I will introduce you to WPF, show you the basics of how to get things done, and discuss the benefits and pitfalls of using WPF compared to WinForms. In the end you should be comfortable getting started with WPF.

0:00 - Intro
0:52 - Creating WPF app
3:35 - Differences between WPF and WinForms
7:02 - WPF template overview
8:51 - WPF Design system
12:09 - WPF Grid
23:25 - VS designer layout
26:24 - Adding a label: TextBlock
30:25 - TextBlock properties
34:04 - Style hierarchy
35:15 - Global font for application
40:59 - TextBlock and TexBlox
47:03 - Element spacing
53:07 - Button
58:20 - Adding an Event to a button
1:03:42 - Disable UI Debugging tools
1:05:34 - Summary and concluding remarks

Thanks to Ralfs HBK for the chapter breakdown
Рекомендации по теме
Комментарии
Автор

I sorted this comment section by 'Newest' out of curiosity, and to my surprise you're still responding to new comments you're getting. That's amazing dude! What a helpful guy.

DerpRob
Автор

You are an amazing teacher. You explain the concepts with incredible clarity. Excellent content!

panduevank
Автор

I've watched a ton of videos on XAML and various programming languages and it is very rare that anyone will go into detail on what they are doing. Most people will just program something real quick and you are just along for the ride leaving you feeling lost at the end. They don't explain everything they write like you do. I don't have that lost feeling when I watch your videos. Very well done!

curtisbarrow
Автор

I learned more from this single video than a semester in college. Thank you so

leighabrown
Автор

I am currently making an application in WPF, it's my first project in WPF. Funny that this video came along right when I needed it.

damienk
Автор

You're a good instructor.

I've not had people actually __pausing__ like you to do let information settle in, its calming, and an important part of being a teacher. To used to having a million concepts thrown at me at once, thanks for giving those things the moment of silence to let your students process them.

lupinedreamexpress
Автор

This is perfect! I've _just_ been looking for sources for digging into WPF, and was looking for tutorials from you - like literally just a few hours ago!
It's like you read my mind, and decided "Yeah, here you go" :-)

Thanks,
Jakob

VaderFaderVader
Автор

I've always said it's important to know things, but it's even more important to know what you don't know. Telling someone this is how you do it only presents half the picture, telling them why you don't do something is the other more important part. Most people learn this the hard way, I appreciate the time you take to fully explain the topics

jasincolegrove
Автор

Thank you so much for this tutorial. This is going to sound goofy, but I had it in my 'sleep learning' playlist and I was able to grasp data binding the next day after being confused about it for MONTHS. Your other C# videos have been wonderful, too. Some of the best free learning content I've ever heard is on this channel. <3

Zakadeja
Автор

After almost 18 month learning C# and win forms I kind of finished creating an entire application with more than 100 tables, more than 500 stored procedures, and lots of functionalities, it is time to move on and start with WPF. Thank you for all your great videos Tim.

uwejadick
Автор

Fantastic tutorial! I've done a couple of projects in WPF before by self teaching myself but this is amazing information that I really haven't seen anywhere else! You also explain and clarify everything in a way that anyone can watch. Thank you for making this video!

oezaxs
Автор

Man I really hated doing Web development because I would always get bored I wanted to find a good alternative and got myself introduced to C# and Your Videos are a huge help. Thanks Tim !!

blazedesigns
Автор

Hello, Tim!
Greetings from Russia :)
Thank you very much for your work, i found all the C# video really useful.
This is my first expierence in WPF, and due to you XAML seems quite simple and friendly.
Guess, that's not my last WPF application)

badyrovjr.
Автор

this is far away from the videos I've watched for starting WPF. this is the best one it's amazing and thank you for sharing such a wonderful content

henimex
Автор

Great video Tim. I wish more tutors took this kind of pace to explain concepts.

ronancasey
Автор

This guy is a wholesome finding. I recently started coding in C#. I am only 16, but despite this fact and also that I'm Russian his english is super fluent so I never miss a word. Great job out there! Planning to make VK (russian social network) client

kasten
Автор

There is now a pop out XAML function which allows you to have your XAML on one screen and your window on another in case anyone is curious

BiggusDickus
Автор

I'm really amazed that you answering all comments. Nice to see that commitment and passion for the job. I used WinForms for several years for my little projects, usually apps for Arduino stuff and STM32 controlling via serial ports. I attempted to learn WPF 3 years ago but gave up because I saw that it really requires time to grasp all and learn and I didn't have time that much. Now, as years passed, I have more time to learn new stuff and I think this time it's gonna be successful with your great lectures. I see that this platform can create really fancy stuff in UI.

Hury
Автор

0:00 - Intro
0:52 - Creating WPF app
3:35 - Differences between WPF and WinForms
7:02 - WPF template overview
8:51 - WPF Design system
12:09 - WPF Grid
23:25 - VS designer layout
26:24 - Adding a label: TextBlock
30:25 - TextBlock properties
34:04 - Style hierarchy
35:15 - Global font for application
40:59 - TextBlock and TexBlox
47:03 - Element spacing
53:07 - Button
58:20 - Adding an Event to a button
1:03:42 - Disable UI Debugging tools
1:05:34 - Summary and concluding remarks

RalfsBalodis
Автор

Hello, Tim,
Just to tell you that even 3 years later, the tuto is still as current as ever. Thanks a lot :)

zacland