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

  Рет қаралды 824,314

IAmTimCorey

IAmTimCorey

Күн бұрын

Пікірлер: 1 000
@DerpRob
@DerpRob 4 жыл бұрын
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.
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
I do try.
@LDdrums20
@LDdrums20 3 жыл бұрын
I love the fact that you left the bug error into the final video. That really depicts the day to day life of a dev. Keeping it real. Thank you sir!
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
You are welcome.
@amrouche.abdesselam
@amrouche.abdesselam 6 жыл бұрын
Thank you so much for this video tim, very easy to understand ! Great Tutorial
@IAmTimCorey
@IAmTimCorey 6 жыл бұрын
You are welcome.
@amrouche.abdesselam
@amrouche.abdesselam 6 жыл бұрын
I found 3 others of your videos on wpf, is that all your tutorial on wpf ? because i don't want to miss anything i just starting to learn wpf and i want to learn everything about it ! Thank you again for your work :)
@IAmTimCorey
@IAmTimCorey 6 жыл бұрын
I do have a paid add-on course for my C# Application from Start to Finish course that is all about creating a full WPF UI using Caliburn Micro and MVVM. That is on my website: IAmTimCorey.com/courses Just note that it is not a complete application in itself. The main course builds the full application. The add-on courses replace just the UI with either WPF or ASP.NET MVC.
@M3rtyville
@M3rtyville 10 ай бұрын
I am new to WPF and starting to get the hang of it after doing the drag down method at the start. But there is still an issue I cannot solve What my program does right now is that it has 3 textboxes, a button and a datagrid. 3 are reading the input and 1 of the text boxes uses 2 inputs to calculate something using those values and show it on the one of the textboxes. Everytime I change the parameters and click the button, it shows a new value. Now I want the Datagrid to do the same but instead of just showing 1 solution, it suppose to show 25 different solutions. I want to create a table that gets generated whenever the button is pressed just like the 3rd textbox does and change whenever I change parameters and click the button. First column suppose to show the numbers 1 to 25 and the second column calculate using the parameters from the first 2 textboxes times the value of the first column that is in the same row.
@JDWrex
@JDWrex 6 жыл бұрын
This video has been very helpful! thank you for making it!
@IAmTimCorey
@IAmTimCorey 6 жыл бұрын
You are most welcome. Thanks for watching.
@sousoulefou
@sousoulefou 3 жыл бұрын
Thak you so much for this tutorial
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
You are welcome.
@calendil
@calendil 6 жыл бұрын
It feels like going back in the time, this takes the advantage of a visual programming platform away. It takes so long to modify grids and elements in that Form or whatever you call it.
@IAmTimCorey
@IAmTimCorey 6 жыл бұрын
I have yet to see a good visual designer that does what we want. Either it creates a bunch of messy code (like the WPF designer) or it is super simplistic (like the WinForms designer). That is the same reason why we don't have good HTML drag-and-drop designers. It is really tough, if not impossible, do to right.
@turn1210
@turn1210 5 жыл бұрын
You can do most of what is shown here by Winforms and code behind, but its extremely cumbersome having to work out widths of controls and making sure they update when the form resizes. The codebase grows, and grows. WPF has a more upfront build, but then once all your styles and controls are built its very much just a case of connecting it all together.
@stephenmorrow1581
@stephenmorrow1581 6 жыл бұрын
Hi enjoyed the video, but I ran into a problem at the end. I don't have Manage NuGet Packages in my version of Visual studio 2017. Is it because it is the free version?
@IAmTimCorey
@IAmTimCorey 6 жыл бұрын
It sounds like the installation is either corrupt or you unchecked NuGet during installation. Check out this StackOverflow post for more information: stackoverflow.com/questions/47338129/manage-nuget-packages-dialog-missing-vs2017 Note that an update to Visual Studio fixed the problem without needing to re-install NuGet for one person at least. Try that first, since it is the simplest.
@stephenmorrow1581
@stephenmorrow1581 6 жыл бұрын
Thanks for the quick reply. I can now see Caliburn.Micro in my references after a little jiggery pokery.
@nfakentires.5867
@nfakentires.5867 3 жыл бұрын
Hey Tim! I hope You and your team would be fine during pandemic. My to the point question, may be a stupid one, I am asked to make a desktop WPF app for local use! My question here is I want to store a minimal data for application. But the pc where it will get installed is a cheap one and low end pc, running windows 7. Can I have an application without a database? Or in other word an alternative.
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
You can use SQLite, which is a database but is just a file (no installation necessary). I have a video on it here: kzbin.info/www/bejne/l6rTZKd-etCFmZI
@nfakentires.5867
@nfakentires.5867 3 жыл бұрын
@@IAmTimCorey Really Helpful Tank You ❤
@panduevank8356
@panduevank8356 6 жыл бұрын
You are an amazing teacher. You explain the concepts with incredible clarity. Excellent content!
@IAmTimCorey
@IAmTimCorey 6 жыл бұрын
Thanks!
@DupczacyBawol
@DupczacyBawol 5 жыл бұрын
I disagree.
@chezchezchezchez
@chezchezchezchez 5 жыл бұрын
@@DupczacyBawol Why? Who's a WAY better teacher?
@abdallabenomran6809
@abdallabenomran6809 5 жыл бұрын
@@IAmTimCorey yes you are .
@mileswilliams527
@mileswilliams527 4 жыл бұрын
IAmTimCorey I'm not sure whether "tagging" the owner of a reply to a comment works but I'm trying anyways because I'd really like to get your opinion on something and don't know how to get in contact with you. But firstly, I'd just like to thank you for the amazing content you provide. When it comes to C#, Visual Studio, and dot NET I think you are unmatched in this field on KZbin. You explain topics with clarity and the right mix of depth and simplicity. Thank you for all the time and effort you put into sharing your knowledge with us all. Now.... I have a few Windows applications that I wrote using both VB.NET/WinForms and also VB/ASP.NET/WebForms/Mysql years ago and I'm interested in rewriting them using C# so that there is a better chance that there will be somebody who can maintain them in the future if I'm no longer employed by the company that I wrote them for. We are not a software company and there is only a very small handful of people who can read and write code. Seeing how Microsoft has pretty much given up on developing Visual Basic any further and all their eggs have pretty much been placed into the .NET 5 with C# basket I'm thinking that there will be a far greater chance of finding somebody who is familiar with C# rather than VB.NET. What I'd like to know however, is what GUI should I focus on in late 2020 for the desktop apps? Is UWP dead? Should I go with WPF?ł What is the deal with WinUI 3? Should I be using Core or Framework for desktop development?? When will we have the one platform to rule them all, dot net 5, and should I hold out until this has officially released and focus my efforts there?
@curtisbarrow3698
@curtisbarrow3698 5 жыл бұрын
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!
@IAmTimCorey
@IAmTimCorey 5 жыл бұрын
I am glad it was so helpful.
@ПавелВишневский-ю5ч
@ПавелВишневский-ю5ч 3 жыл бұрын
@@IAmTimCorey Like choosing a font family in a dropdown list box for 20+ goddamn seconds. Why not start with MS Word explaining what fonts are? Skip-skip-skip... ugh! Next!
@damienk777
@damienk777 7 жыл бұрын
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.
@IAmTimCorey
@IAmTimCorey 7 жыл бұрын
Awesome!
@johncortex7582
@johncortex7582 3 жыл бұрын
it's more like freighting
@VaderFaderVader
@VaderFaderVader 7 жыл бұрын
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
@IAmTimCorey
@IAmTimCorey 7 жыл бұрын
That's great! Glad I was able to provide the content when you needed it. This content has been a long time coming. I'm glad to finally get it out the door. There will be more WPF content in the near future. I'm even considering doing an add-on to my C# application course where I replace the WinForms UI with a WPF UI.
@VaderFaderVader
@VaderFaderVader 7 жыл бұрын
That would be great! I'm just about through (just completed lesson 24), and porting the app to WPF would simply suit my needs perfectly.
@michaelbrunner9531
@michaelbrunner9531 7 жыл бұрын
I was also looking for a WPF Tutorial few days ago. And now, there's one from Tim. I was so happy seing that on my Start-Page.
@KalifUmestoKalifa
@KalifUmestoKalifa 6 жыл бұрын
Yes! Please, that would be a perfect way to really grasp the difference in capabilities
@deveagle6193
@deveagle6193 6 жыл бұрын
IAmTimCorey - that would be great, as I stopped the winforms application course because of so many saying it's not relevant anymore. It seems that Microsoft is caught up on HTML5 now, and has pretty much dropped any future with winforms and wpf
@leighabrown2992
@leighabrown2992 5 жыл бұрын
I learned more from this single video than a semester in college. Thank you so much!!!!!!
@IAmTimCorey
@IAmTimCorey 5 жыл бұрын
Awesome!
@wwg681
@wwg681 4 жыл бұрын
3rd year in college and none of my lecturers have ever said "don't use drag and drop" xD
@O-.-O
@O-.-O 2 жыл бұрын
@John S Yeah real village idiots watch only Tim's videos xD
@O-.-O
@O-.-O 2 жыл бұрын
If that was ass-kissing colleague you must be dean there already xD
@lupinedreamexpress
@lupinedreamexpress 6 жыл бұрын
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.
@IAmTimCorey
@IAmTimCorey 6 жыл бұрын
I am glad you enjoy how I teach.
@Zakadeja
@Zakadeja 3 жыл бұрын
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.
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
Glad it was helpful!
@maxmin-p3h
@maxmin-p3h Жыл бұрын
thnx from Algeria
@IAmTimCorey
@IAmTimCorey Жыл бұрын
You're welcome!
@badyrovjr.4426
@badyrovjr.4426 7 жыл бұрын
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)
@IAmTimCorey
@IAmTimCorey 7 жыл бұрын
Glad to know this encouraged you to check out WPF. I hope you have a great experience with it. There are some really great features in it.
@RalfsBalodis
@RalfsBalodis 3 жыл бұрын
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
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
Thanks again
@pavelh6147
@pavelh6147 4 жыл бұрын
Great explanation, even though I recomment setting the speed to 1.1 or 1.15x :)
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Thank you!
@overtheworl
@overtheworl Жыл бұрын
I like how Tim goes on to explain why WPF is so much better than WinForms because it does not crash when you delete event handler code and then it crashes after he deleted event handler code xD
@ronancasey
@ronancasey 7 жыл бұрын
Great video Tim. I wish more tutors took this kind of pace to explain concepts.
@IAmTimCorey
@IAmTimCorey 7 жыл бұрын
Thanks, I appreciate it.
@nirmal5202
@nirmal5202 4 жыл бұрын
My college prof sucks . . . YOU ROCK!!! Here is what he provided for the ICE: photos.app.goo.gl/3rhzxwKvJps2jeEb9 (Effin' Complicated) versus you, what you taught us is so much clean and easy to understand Thank You, Tim.
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
That's what you get when you drag and drop to create WPF applications - a mess.
@hyxzel2226
@hyxzel2226 5 жыл бұрын
Thank you for the good lesson. You're an awesome teacher. Can you make a similar video for WPF C# Material Design or some other library that gives us the power to make our UI look better?
@IAmTimCorey
@IAmTimCorey 5 жыл бұрын
I will add it to the list. Thanks for the suggestion.
@albrechtshnoodle1128
@albrechtshnoodle1128 3 жыл бұрын
In the most recent Visual Studio, you can disable the annoying black toolbar by going to Tools>Options>Debugging>Hot Reload and unchecking "Enable in-app toolbar".
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
Yep. There is also a button in the fly-out in Visual Studio too.
@BiggusDickus79
@BiggusDickus79 3 жыл бұрын
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
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
Yep, that's a great new feature.
@oezaxs
@oezaxs 5 жыл бұрын
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!
@IAmTimCorey
@IAmTimCorey 5 жыл бұрын
I appreciate the kind words.
@kevinmungame1869
@kevinmungame1869 3 жыл бұрын
Thank you, Tim, as always your videos have been very useful. Could you do something on ListView, interactive display of data
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
I will add it to the list. Thanks for the suggestion.
@loia5tqd001
@loia5tqd001 6 жыл бұрын
every second is precious for me. wonderful - not only this video but your whole channel
@IAmTimCorey
@IAmTimCorey 6 жыл бұрын
Awesome!
@HoleyMoleyAlex
@HoleyMoleyAlex 2 жыл бұрын
You will be glad to know and probbably do know in 2019 VS at least there is now a pop out control so you can have your XAML on a different monitor to your output.
@IAmTimCorey
@IAmTimCorey 2 жыл бұрын
Yep, they added that feature after I created the video. I like to think that they heard my Christmas wish and made it come true.
@BleyCraft
@BleyCraft 5 жыл бұрын
Bob Ross of Programming! ;)
@IAmTimCorey
@IAmTimCorey 5 жыл бұрын
I appreciate the kind words. That is high praise.
@DAT2311
@DAT2311 Жыл бұрын
A note to current watchers: You can pop the XAML preview out now! Just under the swap button. This allows you to re-dock it as a tab behind the code if you want.
@IAmTimCorey
@IAmTimCorey Жыл бұрын
Yep, pretty awesome.
@mikedonovan9033
@mikedonovan9033 4 жыл бұрын
I watched this at 1.75 speed and still felt like you're going slow. I can't understand you at 2x unfortunately. I think it's just a bit wordy.
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Well, there is a lot to cover. My focus is on covering the context of a topic so you know how to put it into a real-world scenario and succeed. That means it will always be a bit wordy.
@Zakadeja
@Zakadeja 3 жыл бұрын
Sometimes I can't handle when people are very wordy when it's a topic I'm familiar with, too. This is the best beginner WPF video I've seen so far on YT though so it's worth it for me.
@viladastulipas2543
@viladastulipas2543 6 ай бұрын
Do better
@RugbugRedfern
@RugbugRedfern 4 жыл бұрын
Very helpful! Thank you so much!
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Glad it was helpful!
@michaelbrunner9531
@michaelbrunner9531 7 жыл бұрын
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.
@IAmTimCorey
@IAmTimCorey 7 жыл бұрын
Glad it helped you out. More will definitely be coming.
@maewennsakura2797
@maewennsakura2797 7 ай бұрын
Hi Tim, thank you for the video ! You give so much informations and contexts, it's really really nice to understand what you're showing and not just copy-paste !! Have a good day and thank you again !
@IAmTimCorey
@IAmTimCorey 7 ай бұрын
Glad it was helpful!
@tyler5580
@tyler5580 5 жыл бұрын
The first time I saw the XAML associated with a WPF app, I freaked out and returned to WinForms. After watching your tutorial, I understand more about XAML and how to write it and it isn't as scary now. Thanks.
@IAmTimCorey
@IAmTimCorey 5 жыл бұрын
Excellent!
@school8066
@school8066 4 жыл бұрын
I liked your facebook page now send me alll the manuals and tutorials please...
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
I am not sure what you are asking for. Liking the Facebook page does not get you something extra. You can get over 200 tutorials on this KZbin channel for free.
@alex-kamol
@alex-kamol 2 жыл бұрын
Sir, you explained very clearly. Your video was posted on 2017, is there any changes in WPF with 2022? it would be good if you updated this course with the last version of WPF if it is available. thank you so much for your work.
@mbyt1780
@mbyt1780 4 жыл бұрын
you are my savior duuude xD i love your tutorial
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Glad I could help
@wzorektomable
@wzorektomable 7 жыл бұрын
Hey Tim, great video and yes we want more WPF tutorials.
@IAmTimCorey
@IAmTimCorey 7 жыл бұрын
Good to know Thomas. Thanks for the feedback.
@randomCADstuff
@randomCADstuff 2 жыл бұрын
MS's site's example of an event handler uses the "Name" property. Other examples seem to prefer the "x:Name" property. I've read a bit on Stack Overflow but am still not sure why someone would choose one over the other.
@godsgod4452
@godsgod4452 5 жыл бұрын
Thank you for this tutorial. I really enjoyed it and it helped me tremendously. At first it was all confusing until I watched your video and now I understand how to properly make a wpf form. Cheers!
@IAmTimCorey
@IAmTimCorey 5 жыл бұрын
Excellent!
@darkduck3457
@darkduck3457 2 жыл бұрын
Tim's wishlist number 1 and 2 are fulfilled in VS2022 ✨✨
@IAmTimCorey
@IAmTimCorey 2 жыл бұрын
Yep.
@mrnobody9268
@mrnobody9268 3 жыл бұрын
Thank you so much, amazing tutorial, i have been programming with .NET for over 3 years, finally moving on from WinForms
@tomthelestaff-iamtimcorey7597
@tomthelestaff-iamtimcorey7597 3 жыл бұрын
Thanks for sharing and good luck on the shift!
@kappaladi4229
@kappaladi4229 3 жыл бұрын
Hows it going with the shift ?
@davidd9511
@davidd9511 5 жыл бұрын
The designer window can become a standalone window by selecting float from the context menu by right clicking the tab name.
@IAmTimCorey
@IAmTimCorey 5 жыл бұрын
Yes, and you can also drag it out. It does not separate from the XAML, though.
@Hantooicus
@Hantooicus 4 жыл бұрын
26:13 - Pop out XAML in Visual Studio 2019 and Above by using the "Pop Out XAML" button found in the middle bar (Between design and code) at the top
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Yep, I got my wish.
@jasincolegrove4798
@jasincolegrove4798 Жыл бұрын
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
@IAmTimCorey
@IAmTimCorey Жыл бұрын
Thank you!
@321zipzapzoom
@321zipzapzoom 4 жыл бұрын
Grt explanation, i understood the concepts and explained at the time of my Interview..It worked for me Thanks Tim.
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Excellent! I am glad it helped.
@Eurisko__78
@Eurisko__78 6 жыл бұрын
To open the design view in a separate window, right click the XAML file in the solution explorer and select open with. Select Source Code (Text ) Editor, then just undock the design view and collapse the XAML pane.
@IAmTimCorey
@IAmTimCorey 6 жыл бұрын
Thanks for the tip!
@thisiscodereport
@thisiscodereport 3 жыл бұрын
Cool Staff thanks for sharing your knowledge, I am having trouble with visual studio 2019, it's freezing I don't know why, I have monster notebook with RAM 16GB, SSD 256GB, HDD 1TB, CPU 2.20 GHz, 12core, model HP Omen
@9drew1
@9drew1 4 жыл бұрын
Just wanted to say thanks for making this. Better than the official Windows tutorials!
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
You're welcome!
@HandbrakeBiscuit
@HandbrakeBiscuit Жыл бұрын
This has been a very helpful video - many thanks for the work you put into it! I looked up the Segoe word/font name - it was originally developed by the firm Monotype and has been registered/trademarked/copyrighted by Microsoft. It's pronounced SEE-goh and is a made up word (but, off-topic, all words are 'made up' if you think about it...)
@IAmTimCorey
@IAmTimCorey Жыл бұрын
Thanks for sharing!
@edcdecl
@edcdecl Ай бұрын
Is there a way to show the dropdown of a MenuItem and default select the first item, similar to the ToolStripDropDownItem.ShowDropDown method in WinForms? I know you can do `IsSubmenuOpen = true`, but it does not select the first item.
@cabiste
@cabiste 3 жыл бұрын
here from the future to tell you that your wish 26:14 has become real
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
Yep, I love it.
@DerrickAbucheri
@DerrickAbucheri 11 ай бұрын
YOU ARE THE BEST!
@IAmTimCorey
@IAmTimCorey 11 ай бұрын
Thank you!
@fpvm4k3r
@fpvm4k3r 4 жыл бұрын
I used to play around in a totally pirated off XDCC copy of Visual Basic 6.0 when I was a kid and would make my own programs by copying or modifying other people's programs and libraries they uploaded to planet-source-code, mostly making apps that would do nefarious stuff in AIM lol. Back then the WYSIWYG editor was separate from the code editor by default! It's great they provide a free community edition now! Wanted to try to build a GUI application for my own use that would query multiple Octoprint instances via REST API and be able to show me the status of multiple 3D printers, display their webcam feeds and give me notification when a print is about to start. Thanks for this tutorial, it's a big help coming back to GUI programming of the modern age!
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
I am glad it was helpful.
@nekrosis4431
@nekrosis4431 11 ай бұрын
25:36 You can now "Pop out XAML" in the top left of the XAML part, and have 2 Tabs, one with XAML and one with the live Preview.
@IAmTimCorey
@IAmTimCorey 11 ай бұрын
Yep, they listened and made the change.
@henimex
@henimex 3 жыл бұрын
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
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
You are welcome.
@saftladentv4366
@saftladentv4366 3 жыл бұрын
Could you just use a padding of 20 in ? You wouldn't have the problem to know on which elements to put the margin?
@tahmidlabib2919
@tahmidlabib2919 3 жыл бұрын
How can I generate invoice in Wpf? Like in Winforms we have built-in component called printdocument.
@kasten2005
@kasten2005 2 жыл бұрын
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
@IAmTimCorey
@IAmTimCorey 2 жыл бұрын
I am glad it is clear and understandable.
@FuzzyDPozzy
@FuzzyDPozzy 4 жыл бұрын
if you were my teacher at school i wouldn't want to leave the school. That's how good your tutorials are man , i just want to say that i appreciate your work and i know you probably super busy with your projects but i wanted to say thank you and keep going , doing what you doibg ;)
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
I appreciate the kind words.
@jessec1684
@jessec1684 Жыл бұрын
Excellent video. Great pace and great job! I'm a beginner with C# and I'll be looking at some of your other videos. It's tough to find really good training videos, I've paid for multiple sites and this is as good as they get!
@IAmTimCorey
@IAmTimCorey Жыл бұрын
Thank you!
@mikelisbernsons9983
@mikelisbernsons9983 4 жыл бұрын
The legends say that the Legendary teacher IAmTimCorey still reads these comments because he is just that great of a teacher
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
I do still read them. Thanks for watching.
@Krzak864
@Krzak864 Жыл бұрын
Watching it in 2023, I'm delighted to inform that the button event bug isn't present in visual studio 2022 haha
@IAmTimCorey
@IAmTimCorey Жыл бұрын
That is good.
@Hury209
@Hury209 3 жыл бұрын
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.
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
Great! I’m glad my content is helpful to you.
@ldiniz_x
@ldiniz_x 4 жыл бұрын
As always great video, Tim !
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Thank you!
@vanamutt43
@vanamutt43 5 жыл бұрын
Great introductory tutorial. Thanks. Having worked with WinForms before, jumping into WPF seemed overly complicated. Dragging and dropping seemed so intuitive and XAML seemed like a step backwards. But XAML is so much more powerful than WinForms. Thanks again.
@IAmTimCorey
@IAmTimCorey 5 жыл бұрын
Yep, you got it. It is more complicated but it is more powerful.
@5uperM
@5uperM 2 жыл бұрын
I don't know why all my friends diss WPF. It's a really fun tool with lots of possibilities.
@zerosandones7547
@zerosandones7547 3 жыл бұрын
@5:10 what the!? I'm very intrigued! 3D FORM?!! 🤯😱
@hbirtt
@hbirtt 3 жыл бұрын
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.
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
You are most welcome. Thanks for watching.
@SebastianMGzz
@SebastianMGzz 4 жыл бұрын
As Tim suggested at 25:23 nowdays, VS already includes an option to pop out the XAML into a separate tab. Seems someone took notice of this.
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Yeah, that made me happy.
@blazedesigns2751
@blazedesigns2751 12 күн бұрын
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 !!
@IAmTimCorey
@IAmTimCorey 11 күн бұрын
I’m glad my content has been so helpful.
@gameislame223-_-3
@gameislame223-_-3 4 жыл бұрын
I didn’t think it was possible to not hard code margins, but I was surprised when I was able to use all different controls to space out things and attach them to grids, this tutorial makes everything easy to hop in and get going
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Great! I am glad it was so helpful.
@jonestako4721
@jonestako4721 5 жыл бұрын
How can I send multiple parameters from Button in WPF? I am able to send single parameter which is value of TextBox properly. Here is the code.
@IAmTimCorey
@IAmTimCorey 5 жыл бұрын
If you are using MVVM then you don't have to send any data - the ViewModel has all of the data you might want.
@jonestako4721
@jonestako4721 5 жыл бұрын
@@IAmTimCorey Thank you for your answer. you're right but I want to learn something new "" MultiBinding> with CommandParameter ".
@Alex-by4zv
@Alex-by4zv 4 жыл бұрын
Thank you for the video, that was a great intro. Once I create something, I'll surely leave another comment about my struggles. It's a sub
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
I am glad it was helpful.
@wenhanchia8448
@wenhanchia8448 2 ай бұрын
Thank you for breaking down the technicalities into such simpler explanation! Much more helpful than reading documentation or following others' guide. Appreciate your videos!
@IAmTimCorey
@IAmTimCorey 2 ай бұрын
You are welcome.
@marekdvorak2292
@marekdvorak2292 5 жыл бұрын
I like your videos and also you have brilliant English for non-native speakers :)
@IAmTimCorey
@IAmTimCorey 5 жыл бұрын
I am glad I am clear. I try hard to watch what I say, how I say it, and how fast I say it but sometimes I get excited and just start crunching my words together.
@pandadog423
@pandadog423 Ай бұрын
thanks alot for the intro to ui design. Ive taken a few cs courses in college and am familar with coding concepts and best practices, but I never have done much more then scripts and text editing. This will hopefully help me eventually design a useful program.
@IAmTimCorey
@IAmTimCorey Ай бұрын
I am glad it was helpful.
@stargaming-h3p
@stargaming-h3p 23 күн бұрын
I know I'm a little late to the party, but I have a question. Is WPF still worth learning?
@IAmTimCorey
@IAmTimCorey 23 күн бұрын
Absolutely. It is actually one of the two main desktop frameworks that Microsoft recommends (the other is WinForms).
@lautarolavecchia5995
@lautarolavecchia5995 3 жыл бұрын
this is just what I was lookin for thank you very much
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
I am glad this was so helpful.
@peanutatomic
@peanutatomic 2 жыл бұрын
wow, this is great! still works the same in Visual Studio 2019, and I absolutely love your tutorials! The way you explain it makes learning it fun and easy. Thank you, and keep up the awesome work!
@IAmTimCorey
@IAmTimCorey 2 жыл бұрын
You are welcome.
@NoOne-wf6hm
@NoOne-wf6hm 2 жыл бұрын
Greetings Tim; - First things first. Thank you for your Video. I'm Moving from WinForms and at this point is being really useful. - Second (Your Request): I'm sure you already know this by now, but will leave the info anyway for users who were looking for it (like me). @25:37: In my VS Version; the Division between Window and XAML Contains 3 Icons on Top (1 of them 'Tabbed')'; Click the 3rd Button Counting from the Top (the Icon Contains a Blue Arrow). That's how to split the Window from the XAML.
@tomthelestaff-iamtimcorey7597
@tomthelestaff-iamtimcorey7597 2 жыл бұрын
Thanks for the Tip
@ricks3754
@ricks3754 5 жыл бұрын
thank you very much. This video was very helpful!! i'll pass an old WinForm project to WPF to see the difference and show you the result :)
@IAmTimCorey
@IAmTimCorey 5 жыл бұрын
Excellent!
@richardchu1593
@richardchu1593 3 жыл бұрын
HI Corey, is there any way we can quickly lookup a method's documentation? When my mouse hovers over "GradientStop Offset" inside xaml file and press CTRL + F1, it didn't bring me to the specific page for the method, but instead a generic documentation page. Cheers Richard
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
No, not really. You would need to do some searching to find the best article covering it.
@zacland
@zacland 4 жыл бұрын
Hello, Tim, Just to tell you that even 3 years later, the tuto is still as current as ever. Thanks a lot :)
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Great! You are welcome.
@yongmingzhuang4005
@yongmingzhuang4005 7 жыл бұрын
Hi Tim, thank you so much for the awesome tutorial! I am really looking forward for more WPF tutorial!!!!
@IAmTimCorey
@IAmTimCorey 7 жыл бұрын
You are welcome. Glad you enjoyed it.
@vinuhosanagar1
@vinuhosanagar1 7 жыл бұрын
Hey Tim, great video and yes we want more WPF tutorials.
@IAmTimCorey
@IAmTimCorey 7 жыл бұрын
Will do.
@RqtiOfficial
@RqtiOfficial 4 жыл бұрын
Lowest teacher humanly possible
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
I'm not sure what you are trying to say.
@tonybenjamin7844
@tonybenjamin7844 3 жыл бұрын
I wanted to move the "Run Me" button over to be in line with the left edge of the "First Name" TextBlock. So I made the margins of "Button" Margin=0,10,10,10, - but I always get a bug and can't figure out how to resolve it?
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
Keep at it. Use the developer tools to figure out why it isn't moving where you want it to.
@rolandwatz7797
@rolandwatz7797 3 жыл бұрын
Usually I don't like to watch videos with +1hout. Big Compliment. I'm motivated now to change to the WPF stuff. I have a nice application build with winforms and my new project is to rebuilt this with WPF. I'm exited about watching your next videos. Thanks a lot from germany. And sorry if my english was not good enough mate. God bless you
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
You are welcome. I am glad you enjoyed the video.
@DonMachado
@DonMachado 4 жыл бұрын
My background is in embedded programming primarily using C++ and while I have used window forms and C# in the past for creating small apps, I don't really have much experience in UI development. I haven't built up any habits (good or bad) and really would like to focus on the latest development tools if I'm going to put more than a toe into this arena. I found this WPF tutorial very interesting and helpful, but my question is; where do you think I should go from here? I've been tasked with developing a UI based file parser and I would like to use WPF and its associated tools, but don't have the time to go through an entire course. What would you suggest I focus on to get the most useful information? Thanks! P.S. I use XML frequently, so XAML looks and feels very familiar to me.
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
I would recommend the rest of the videos in this playlist: kzbin.info/aero/PLLWMQd6PeGY3QEHCmCWaUKNhmFFdIDxE8
@stavrosk.3773
@stavrosk.3773 3 жыл бұрын
Every time he says "visual studio will yell at you" i truely imagine visual studio yelling at me with a human voice 😂 Love your courses man!
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
That would be a great/horrible add-in!
@nairi1145
@nairi1145 3 жыл бұрын
If you can't find the checkbox, just go this way Tools > Options > Debugging > Hot Reload > Enable in-app toolbar
@tomthelestaff-iamtimcorey7597
@tomthelestaff-iamtimcorey7597 3 жыл бұрын
Thanks for the tip.
@paradonas
@paradonas 2 жыл бұрын
Bit slow but very good in general, a slow basis is good. Bit outdated in 2021 so i couldn't find the options to diasable XAML Debugging Tools sadly. Otherwise very good
@IAmTimCorey
@IAmTimCorey 2 жыл бұрын
It is still there. Just go to Tools->Options->Debugging->XAML Hot Reload and in there will be an option to "Enable in-app toolbar". Disable that and you are set.
@lucemiserlohn
@lucemiserlohn 3 жыл бұрын
I know I'm late to the party, but "Segoe UI" is pronounced "Segway UI" - you know, like those things Steve Wozniak likes to ride ;)
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
Interesting. I (obviously) didn't know that. Thanks for sharing.
@vaseksvoboda9680
@vaseksvoboda9680 4 жыл бұрын
U can really utilise lots of features of XAML without actually using the coding part and just drag n dropping.., like the margining, grid columns and rows, etc.. Seems like a needless thing to learn.. I made the same thing u did for like few seconds without barely using XAML code.. even did it better so it shrinked and grew with resizing the form. Might it be cus i'm using VS2019 and they might made it better though.
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
They have made those tools better, and I may teach them some day, but tooling only takes you so far and can actually cause you problems in XAML. You don't want to drag controls because then they get fixed positions, etc.
@DavidAusman
@DavidAusman 4 жыл бұрын
How did you set up you black background with the pretty blue and white fonts? I can see how to change the font colors under Tools > Options but I see no place to change the background to black. Your setup is REALLY nice on the eyes! Oh, wait...I just found it under Environment > General > Theme. It does the whole thing. Nice.
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Glad you figured it out.
@hardgrafter2787
@hardgrafter2787 5 жыл бұрын
Very good. At 47 mins you dismiss the XAML Inspection Toolbar. These tools are available from VS2017, are incredibly useful and as a professional WPF developer I use them every day. Previously you had to use 3rd party software such as Snoop to inspect the visual tree at run time which was a real pain. Now with this tool bar you are able to drill into the visual tree at run time & go to the XAML source of the selected UI element. You can then live edit the XAML & view the changes live at run time. Although these tools are probably outside of the experience level of the intended audience of this video, they should not be dismissed outright.
@IAmTimCorey
@IAmTimCorey 5 жыл бұрын
Yep, totally understand that. The problem I have is that they are on top of my form, which isn't great for showing off the application. I would prefer that they are hidden until I ask for them, like the dev tools are in Chrome.
WPF Controls: Learn basic WPF controls in C#
29:48
IAmTimCorey
Рет қаралды 180 М.
Learn .NET MAUI - Full Course for Beginners | Build cross-platform apps in C#
4:08:53
Win This Dodgeball Game or DIE…
00:36
Alan Chikin Chow
Рет қаралды 37 МЛН
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 115 МЛН
Ozoda - Lada ( Ko’k jiguli 2 )
06:07
Ozoda
Рет қаралды 15 МЛН
Сергей Миколайтис - Сквозь тернии к кроссплатформе. Портируем WPF-приложение на Avalonia
1:10:07
DotNext — конференция для .NET‑разработчиков
Рет қаралды 3,5 М.
Picking a New MVVM Framework - Moving from Caliburn Micro
1:27:32
IAmTimCorey
Рет қаралды 99 М.
WPF in C# with MVVM using Caliburn Micro
1:23:30
IAmTimCorey
Рет қаралды 364 М.
What is the MVVM pattern, What benefits does MVVM have?
22:38
James Montemagno
Рет қаралды 98 М.
Build a WPF MVVM Application - START TO FINISH TUTORIAL
4:04:33
SingletonSean
Рет қаралды 120 М.
The Basics of Data Binding in WPF
20:53
Tactic Devs
Рет қаралды 43 М.
APIs for Beginners 2023 - How to use an API (Full Course / Tutorial)
3:07:07
freeCodeCamp.org
Рет қаралды 2,1 МЛН
Is LEARNING WPF still WORTH it in 2023?
10:59
tutorialsEU
Рет қаралды 51 М.
Win This Dodgeball Game or DIE…
00:36
Alan Chikin Chow
Рет қаралды 37 МЛН