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

815,240
0
Published 2017-05-26
Newsletter signup (with exclusive discounts): signup.iamtimcorey.com/ (your email will be kept safe and you will not be spammed).
Facebook Page: www.facebook.com/IAmTimCorey/

Want to see a full C# application built from scratch?
Check out this course: www.iamtimcorey.com/p/c-application-from-start-to-…

Need to know SQL Better? Check out this course: www.iamtimcorey.com/p/sql-databases-from-start-to-…

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

All Comments (21)
  • @DerpRob
    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.
  • @panduevank8356
    You are an amazing teacher. You explain the concepts with incredible clarity. Excellent content!
  • 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!
  • @leighabrown2992
    I learned more from this single video than a semester in college. Thank you so much!!!!!!
  • @Zakadeja
    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
  • @oezaxs
    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!
  • @hbirtt
    Just want to say thank you for all the content. I've watched so much IAmTimCorey over the last few weeks that I feel like I know you. Even the stuff that covers topics that I already understand has been time well spent. It's all full of seasoned developer nuggets.
  • @damienk777
    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.
  • @VaderFaderVader
    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
  • This video was coming at the right time. Thanks Tim for such a great basic tutorial. I'm looking forward to see more of these tuts.
  • Wow! I'm so glad I found your channel. You cover everything I need and more! Keep up the great work Tim.
  • @zetadimensions
    This is a great tutorial! You get straight to the point and explain things as simply as possible, making everything so easy to understand. Keep up the good work!
  • @ronancasey
    Great video Tim. I wish more tutors took this kind of pace to explain concepts.
  • 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.
  • @suboy72
    This is the second video by you that I am watching and I am amazed by the effort you take to keep things simple and understandable. I subscribed immediately after watching your first video - Desktop UI Showdown and it kind of led me to this one. Thank you.
  • I'm glad I picked your video here to get a proper overview of what I was looking for. Even though I knew many things already, I never felt the urge to skip parts which I usually always do in that case. The amount of information and the pace were just perfect to easily follow what's going on without getting monotonous or repetitive. Now I'm just happy seeing all those other videos on your channel waiting to be watched.
  • @loia5tqd001
    every second is precious for me. wonderful - not only this video but your whole channel <3
  • @badyrovjr.4426
    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)
  • @panbui4246
    You are a blessing! I have followed paid courses, and no one explains c# applications as well as you do. Thank you so much!
  • @EmadKhader
    First time to watch Tim Corey. Very impressed. He has a talent for making things look easy. Highly recommended.