WPF Tutorial - Introduction In 30 Minutes (Binding, XAML & Data Context)

  Рет қаралды 112,574

ToskersCorner

ToskersCorner

Күн бұрын

Пікірлер: 111
@ToskersCorner
@ToskersCorner 6 жыл бұрын
Don't forget, if you are the type of person who works at a faster pace you can always increase the video speed to 1.5x
@TheMilliardo
@TheMilliardo 6 жыл бұрын
Hey. Can you make a short video about how to make a Splash Screen with some controls like text, background, and some custom button in UWP?
@danhale6661
@danhale6661 6 жыл бұрын
After doing this, either using a chrome extension or just in the KZbin settings, Idk how ppl still listen at regular speed. 1.5x to 2x is great and time saving
@pra8eek
@pra8eek 4 жыл бұрын
I'm new to WPF and I watched so many tutorials but none of 'em have explained it with this much clarity. Thank you so much..!!!
@gard2054
@gard2054 4 ай бұрын
I thought binding was extremely hard, but you managed to explain it properly in just 25 minutes. I'm amazed. Thanksssss a lot!
@ViktorBudylin
@ViktorBudylin 3 жыл бұрын
The best introductory tutorial to WPF I`ve seen so far.
@gajarajsekar8044
@gajarajsekar8044 6 жыл бұрын
Thanks for showing me rather than explaining what data binding is. I have been confused by this for quite a while and your video pulled me out of all the doubts and questions I had. Thank you
@nasarazam
@nasarazam 5 жыл бұрын
I am SQL server DBA and have not done GUI programming since PowerBuilder days ! I was able to follow everything in this video. Very well explained - Excellent Tutorial. A glimpse of separating GUI from business logic...
@aussieraver7182
@aussieraver7182 3 жыл бұрын
THANKS! As a web developer, work gave me a WPF task to do. Never used it before, but your tutorial made it so easy, thanks again!
@edouardpoitras810
@edouardpoitras810 Жыл бұрын
I have been researching WPF with books and videos and your video really uncover the cloak of DataContext- Thanks
@f41nT
@f41nT 2 жыл бұрын
no shit, this is definetely the best intro on wpf on whole yt.
@duncancarr7822
@duncancarr7822 7 жыл бұрын
This is a great tutorial. I've watched tons & never seen any that explain this stuff so well. Thanks ever so much. You're a fantastic tutor.
@Juan-lj4pi
@Juan-lj4pi 4 жыл бұрын
the best intro to WPF I've found
@rockinpenguin
@rockinpenguin 4 жыл бұрын
Finally found the gold nugget among the mess of youtube's numerous wpf's tutorials !! Best in depth explanation of what the hell is wpf...
@patrickbmcke8221
@patrickbmcke8221 4 жыл бұрын
Same thing here !
@geekbait7019
@geekbait7019 Жыл бұрын
are you a teacher by trade? by FAR, these are the best tutorials i've seen on any subject on youtube.
@md.mozibur.rahman
@md.mozibur.rahman 7 жыл бұрын
I watched so many videos about XAML data context and still wasn't getting it, may be I am dumb, but this video cleared all the thing in my brain and suddenly I 've started understanding everything about Data Context. Thanks man !!
@lionciomorcilla3045
@lionciomorcilla3045 3 жыл бұрын
Best WPF tutorial ever!!!
@FuzzyDPozzy
@FuzzyDPozzy 4 жыл бұрын
i think from all ur videos this was the best one
@amanatazizkhan8765
@amanatazizkhan8765 3 жыл бұрын
Thanks sir. This is one of the best tutorials for a beginner, if not the. We all appreciate your hard work you put in for this 30-minutes video
@dogstar9455
@dogstar9455 3 жыл бұрын
This is the best explanation of the basics for WPF that I've seen at the perfect pace. I like the fact that you don't immediately install a third party framework and start using it. I think that you should know whats going on at a base level first before pulling in stuff that does "magic" stuff for you. Thx.
@beardordie5308
@beardordie5308 4 жыл бұрын
Great video. I swapped the Up and Left keycaps on my keyboard based on your suggestion. Life changing.
@ToskersCorner
@ToskersCorner 4 жыл бұрын
What did you mean by this?
@asdasddas100
@asdasddas100 7 жыл бұрын
You deserve more subs
@ToskersCorner
@ToskersCorner 7 жыл бұрын
da dave dude Thanks! Hopefully ill get there! 😁
@kamnajadhav9651
@kamnajadhav9651 4 жыл бұрын
i had been searching good tutorial for wpf since a long time, and none of the materials were as good as this ! thanks a lot buddy for helping out !!
@christianberger7998
@christianberger7998 4 жыл бұрын
Great Video helping me to understand bindings. One tip: Tools--Options--Debugging--General--"Show Runtime-Tools in Application" Edit: As nanonerd100 suggested: This lets you remove the little bar on your Main Window while in Debugging Mode
@nanonerd100
@nanonerd100 4 жыл бұрын
This is great. You should mention that it is to remove the "annoying" small box at the top of the window when running the app in debug mode. Otherwise, no one will know and few will try it.
@Willlly61
@Willlly61 3 жыл бұрын
Thank you so much for this video! I agree wholeheartedly with what some other people have commented.. that this video finally explained the basic concepts of WPF in a comprihensible way
@MonderMurshed
@MonderMurshed 2 ай бұрын
The best! keep it going my bro!.
@AmitSingh-uq5ii
@AmitSingh-uq5ii 5 жыл бұрын
Best intro ever for wpf....it seems You have great knowledge of wpf
@ToskersCorner
@ToskersCorner 5 жыл бұрын
Thank you very much. In hindsight there are a few clunky parts of the video and poorly explained things which I hate. I hope to redo the video even though many people find it helpful.
@ilovejingle
@ilovejingle 4 жыл бұрын
Thank you, this is the clearest explaination I have ever seen.
@Ahambric1998
@Ahambric1998 2 жыл бұрын
this was great.. cleared a lot up for me on data context. Thanks!
@liamo6756
@liamo6756 Жыл бұрын
First tutorial I've found that explains any of this in an intuitive way. So many others gloss over the datacontext, code-behind and namespace stuff wayyy too fast
@jeffreycounts
@jeffreycounts 3 жыл бұрын
This was so helpful and was a perfect combination of explanation and examples. Thanks for making this!
@BorisMilner
@BorisMilner 3 жыл бұрын
A very good collection of tutorials. It helps with the initial learning-curve much better than others I've encountered. You really nailed it with the summary slides and the simplified examples !
@19jewels95
@19jewels95 4 жыл бұрын
You are an absolute legend! ^.^ I'm only about halfway through but the pace at which you go is superb for beginners. All this stuff is so daunting for people who are also just learning c# and don't have much experience with OOP. Thank you for spreading your wisdom :)
@Aaron77799
@Aaron77799 7 жыл бұрын
I find your tutorials really good , i big life saver
@ToskersCorner
@ToskersCorner 7 жыл бұрын
Awesome, Hope my content continues to help!
@sobermushroom1539
@sobermushroom1539 3 жыл бұрын
Thank's really! It helped me a lot in starting to understand this peculiar and sophisticated things, I hope...
@kerriemartin6013
@kerriemartin6013 29 күн бұрын
Really well done. Thank you!!
@agucciardi
@agucciardi 2 жыл бұрын
Excellent video 👍
@santiagocastro4683
@santiagocastro4683 6 жыл бұрын
I wish I started learning WPF with this video, last month...
@ToskersCorner
@ToskersCorner 6 жыл бұрын
I'm glad you found this useful. Part of me plans on redoing this video to make it more presentable and to fix a few bits of information that I now find not entirely accurate in the way I worded it. Overall I try to make my videos in a way I feel would have been useful for me when I first started. Sometimes it's frustrating to watch a dozen videos from a bunch of people where they all cover and repeat the SAME things and never quite have the kind of information I am seeking. Often going on too long about the easy parts and not long enough on the more difficult parts. 10 minutes talking about how a button works and 1 minute on a data context (I'm exaggerating a bit, but you get my point).
@SifatSultanTheConsistency
@SifatSultanTheConsistency 7 жыл бұрын
I loved it man, LOL at the end!
@uccoskun
@uccoskun 7 жыл бұрын
very good explanation, i liked the explanation of all the details, all the small things you can easily skip. If you have time: (1) after this explanation, you can prepare a simple example to show how to use just to digest and (2) name the file names so we can watch your videos in an order. Thank you again, your videos are very good.
@navin2k6
@navin2k6 5 жыл бұрын
Nice explanation!! Thank you!
@grimborn3606
@grimborn3606 4 жыл бұрын
Very nice vid I learned a lot
@jrjunior4524
@jrjunior4524 6 жыл бұрын
woow.... Tosker, you are just awesome, I wish to see you in Plurasight or Udemy, Lynda etc... you are awesome in explaining the concepts
@generalcontrol
@generalcontrol 7 жыл бұрын
As for data context and binding that would be great to give a practical example of what this extra abstraction layer is good for against directly programming controls. Great tutorials, btw.
@ToskersCorner
@ToskersCorner 7 жыл бұрын
+generalcontrol I understand why you would ask that question, given I have asked it many times myself. Unfortunately, I feel the importance of it is something better understood when it "clicks" vs various examples and explanations. As you use it for larger projects, in which require many revisions, you will see how much easier it makes development. Its not that is HAS to be done this way. Directly programming can accomplish the same thing. Its simply a different way that when mastered, can dramatically improve development speed and flexibility. I will however, contemplate coming up with an example for you.
@Matt-ov9gi
@Matt-ov9gi 7 жыл бұрын
It 's absolutely Awesome ! Thanks!
@67Keldar
@67Keldar 3 жыл бұрын
Great Video... really filled in a few gaps I was struggling to understand from other videos... going to check out some of your other vids as a result ;) Also Subscribed :o)
@EarlWoodJr
@EarlWoodJr 7 жыл бұрын
Thank you for this great tutorial.
@ToskersCorner
@ToskersCorner 7 жыл бұрын
Thanks, Earl. Always glad to see people find this useful.
@nero1563
@nero1563 4 жыл бұрын
what a great video !!!!!!! Thanks a lot! You should teach on the Udemy !!!
@LesterMolinaCartuchoDesigns
@LesterMolinaCartuchoDesigns Жыл бұрын
Awesome! Thanks!
@jefdilen1473
@jefdilen1473 3 жыл бұрын
17:55 i don"t understand what this do... dockpanel yellow?? i see nothing changed?
@mmcgames8499
@mmcgames8499 4 жыл бұрын
nice tutorial
@wieland2574
@wieland2574 6 жыл бұрын
Thank you for your tutorial!
@wesselpoldervaart4658
@wesselpoldervaart4658 7 жыл бұрын
has tought me more than random clicking(a technique wich works surprisingly well most of the time sometimes)
@ToskersCorner
@ToskersCorner 7 жыл бұрын
I hope that was a compliment :)
@wesselpoldervaart4658
@wesselpoldervaart4658 7 жыл бұрын
ToskersCorner yes it is a compliment
@ToskersCorner
@ToskersCorner 7 жыл бұрын
Haha, okay thanks :D Glad to help! '
@ronicoding4496
@ronicoding4496 6 жыл бұрын
Finally got it.. datacontext
@raviprasad2379
@raviprasad2379 7 жыл бұрын
Hi Buddy, completed 2 sets of wpf playlist. Waiting for some more concepts like Dependency Property, DataTemplate etc. Hope you will cover 😃
@ToskersCorner
@ToskersCorner 7 жыл бұрын
I will plan on videos such as custom controls, dependency props etc. However, for DataTemplates, if you have not already, my "Multiple Views in WPF" uses them I believe. (I will do a separate video on them for the future as well)
@raviprasad2379
@raviprasad2379 7 жыл бұрын
Thanks Buddy 😊
@shaikhzoyeb
@shaikhzoyeb 6 жыл бұрын
thanks , it was wonderful , you have now new sub :)
@ToskersCorner
@ToskersCorner 6 жыл бұрын
Thanks! Be sure to check out my other videos, I have plenty of more content on WPF. I also have playlists organized for beginners and other topics.
@shaikhzoyeb
@shaikhzoyeb 6 жыл бұрын
Sure, i I'll go through your all videos
@juanclopgar97
@juanclopgar97 4 жыл бұрын
Great video!, I'm understanding all!!! but I've just a little question. I don't understand at all 'x' namespace, I know now that it allows to get Information like Metadata I think, Types and that kind of stuff but, Why x:Name??? Without 'x' namespace, controles aren't gonna have Name property?(I know the answer is no), but so, Why is there for?
@acbattery
@acbattery 5 жыл бұрын
after i use {Binding} the button content is no longer visible in XAML window while editing. Also the button size (height) sets to a minimum. Is there a way to show the content of button in the XAML Window while editing, although im using {Binding ...}?
@redslayer973
@redslayer973 6 жыл бұрын
Thanks for the help
@bissash103
@bissash103 5 жыл бұрын
is always needed to put crl when defining own xmlns? thanks for the video :)
@johnsailor3590
@johnsailor3590 8 жыл бұрын
Very helpful
@ToskersCorner
@ToskersCorner 8 жыл бұрын
Glad to hear! If you didn't already, the description has a link to a small survey of 5~ questions you could answer to help me improve future videos. Thanks again, Benito!
@johnsailor3590
@johnsailor3590 8 жыл бұрын
be sure about that!
@mr.es1857
@mr.es1857 7 жыл бұрын
Hey tosker do you know anything about "ShutdownMode" porperty for apps ???
@TopazCentuallas
@TopazCentuallas 8 жыл бұрын
So useful!
@colbygreen6766
@colbygreen6766 7 жыл бұрын
great video
@MrMrkBo
@MrMrkBo 6 жыл бұрын
Great video. I still haven't been able to bind my ArrayList to a particular datagridview column, but I'm a lot closer now. But what I really want to know is what happened to Casper the Friendly Ghost? Did you bonk him on the head?😆
@loia5tqd001
@loia5tqd001 6 жыл бұрын
Ex. I’m gonna watch all of your videos (and like them all) as soon as possible. Btw i’m curious about your color parameters of the text editor. It looks nicer than the default colors of VS.
@ToskersCorner
@ToskersCorner 6 жыл бұрын
This, I believe, is actually the dark theme for VS. You can change to it in settings. You can find custom ones at studiostyl.es/ (That's where I go)
@finch9668
@finch9668 6 жыл бұрын
fantastic !
@ivanmah7551
@ivanmah7551 8 жыл бұрын
how do a private void event handler like radioButton_Checked access into a public MainWindow() or public void method variable?
@ToskersCorner
@ToskersCorner 8 жыл бұрын
The answer to depends on your circumstances. Is your radioButton_Checked in a separate class from your public method or MainWindow()? If you want, you can post your code to PasteBin and email me your issues at toskerscorner@outlook.com and I will certainly try to help you.
@ivanmah7551
@ivanmah7551 8 жыл бұрын
Hi, i somehow solve the problem after understanding how event handler work. But i Do have a question, let say im working on a quiz application and i get my question and answer from a text file where i have already string split but i want to reuse the same toolbox or UI which place on my window since i have more than 1 question inside my text file. What is the best approach in WPF when wanted to reuse the same window
@ToskersCorner
@ToskersCorner 8 жыл бұрын
If you are going to have multiple views that change in the same window, you may want to check out my WPF tutorial video on using multiple views. If you are having controls simply change in value(I.E question and answer) every time the user gets it right vs wrong then you may want to look in to INotifyPropertyChanged - which I also have a video on.If your questions require more specifics, feel free to contact me via my email or messaging on KZbin. It will be much easier to discuss through those than in KZbin comments.
@stepan7396
@stepan7396 7 жыл бұрын
Thanks for video!!!!!!!!!
@ToskersCorner
@ToskersCorner 7 жыл бұрын
No problem, Stepan! :)
@antnauman
@antnauman 4 жыл бұрын
24:06 "Whoops I always hate this little designer tool here" Who doesn't?? 😁
@oldvsdeveloper4652
@oldvsdeveloper4652 4 жыл бұрын
In VS2019 go to 'Tools>Options>Debugging>General' and unclick "Enable UI Debugging Tools for XAML" Hey Presto!
@tsvetomirtsanev5237
@tsvetomirtsanev5237 6 жыл бұрын
Hello, Why to use BINDING in xaml? What is positive things of that? I saw only negative to make my project more difficult. Now I write my project withou this option BINDING. Just write direct in XAML, name of button, TBox.context..... When I use DataGrid I write name of columns in C# without BINDING. Is this a problem? Have a nice day
@ToskersCorner
@ToskersCorner 6 жыл бұрын
Binding, when used properly, is far more convenient and cleaner to use. Now, you obviously may disagree because it likely goes against the grain of what you normally have developed a habit to do, which is utilize the code-behind. So often trying to develop a new habit with binding feels like it makes things more complicated, which it does, but only through the learning process. When you use binding it makes it much easier to swap, change, or make new views without rewriting code. It helps reduce dependencies in your view. Is not using binding a problem? Well, it depends. Many people would say yes, and I know many people feel the way you do. If you are making an application, then make it the best way that YOU can. If you are not fully versed or comfortable with binding, then don't use it for a more serious project. You will likely create bigger issues by using it improperly than just simply sticking with what you know. However, this doesn't mean you should not evolve as a programmer and stay away from learning newer and better ways. I would suggest that you try to LEARN binding, but don't let it keep you from making progress in other areas. Take small steps, slowly start using it to the degree you feel comfortable. Continue to challenge yourself, not overwhelm. For example, a while back I started learning a lot of programming patterns. I continued hearing people talk about how much better it was to use some patterns for some things, so I wanted to learn them. However, because I was new to some of them, and only understood them at a shallow level, I started using them everywhere with everything. In the end they made my applications much worse. Not because the PATTERNS made it worse, but my eagerness to use things I didn't fully UNDERSTAND did. To sum up my point, just because you learn about or see something better doesn't mean you have to throw everything you know out the window. I notice, at least for myself, when I learn something new I develop this "born again" mentality, and often I notice this can hurt my progress. Aim towards learning new things, but transition to using them, don't abruptly change how you do everything because of one thing you are currently learning. Hope that made sense, I can ramble on sometimes ;P
@vinzer72frie
@vinzer72frie 7 жыл бұрын
Thanks
@ToskersCorner
@ToskersCorner 7 жыл бұрын
No problem! Thanks for checking out my channel :)
@andread4721
@andread4721 5 жыл бұрын
The code is difficult to read in the video and the sound volume is a little too low, but the content and the explanations are very good.
@JymMorton
@JymMorton 7 жыл бұрын
I don't know that I agree with (or understand) your ID analogy. Should it not be: the information on the ID can be completely incorrect (you've moved) but you still get your mail because you told the Post Office your new address. You are waiting for the 'update' to the ID? Same thing happens on the computer except instead of a 4-6 week wait the update is microseconds.
@ToskersCorner
@ToskersCorner 7 жыл бұрын
Jym I am notorious for bad analogies. If it confused you feel free to ignore it lol.
@ultrahigh5961
@ultrahigh5961 3 жыл бұрын
Nice tutorial. But the resolution of the video is a bit trashy
@loganfairbairn4605
@loganfairbairn4605 4 жыл бұрын
Watch tutorials in 1.25x speed.
@Festerbestertester6
@Festerbestertester6 4 жыл бұрын
I don't see what is wrong with dragging a control into the form just to get a starting point. We are not subservient to whatever XAML it produces. Modify it to something reasonable.
@john_hatten2862
@john_hatten2862 5 жыл бұрын
type comment comment here
@인생-o4v
@인생-o4v 7 жыл бұрын
It is a good lecture. However, there is no such good lecture in Korea. And I do not speak English well. I want to listen to lectures in Korean.
@ToskersCorner
@ToskersCorner 7 жыл бұрын
I would try to learn Korean for you, but I have done poorly learning the ones I have already tried(German, Spanish and some Russian). I'll keep my eye out for any WPF or C# material for Korean audiences and send it your way if I do... ;) Thanks for the comment!
@foltandaniel
@foltandaniel 5 жыл бұрын
Set the speed to 1.25x. Thank me later.
@ErcanMutlu-r4x
@ErcanMutlu-r4x 5 ай бұрын
Nothing understand , please simplyfy this tutorial.
@jcbritobr
@jcbritobr 4 жыл бұрын
No xaml. Just visual studio. Wtf.
@mhmdnayef710
@mhmdnayef710 4 жыл бұрын
Thank you for this great tutorial.
C# WPF Tutorial - Using INotifyPropertyChanged
22:01
ToskersCorner
Рет қаралды 49 М.
C# WPF - Commands [Part 1 Intro + Singular Commands]
17:32
ToskersCorner
Рет қаралды 50 М.
КОНЦЕРТЫ:  2 сезон | 1 выпуск | Камызяки
46:36
ТНТ Смотри еще!
Рет қаралды 3,7 МЛН
"Идеальное" преступление
0:39
Кик Брейнс
Рет қаралды 1,4 МЛН
I Sent a Subscriber to Disneyland
0:27
MrBeast
Рет қаралды 104 МЛН
The Basics of Data Binding in WPF
20:53
Tactic Devs
Рет қаралды 49 М.
Is LEARNING WPF still WORTH it in 2023?
10:59
tutorialsEU
Рет қаралды 60 М.
The Dome Paradox: A Loophole in Newton's Laws
22:59
Up and Atom
Рет қаралды 368 М.
In UNDER 10 Minutes - WPF Binding Made Easy!
8:55
Dev Leader
Рет қаралды 1,4 М.
C# WPF - Relay/Delegate Commands [Part 2]
21:25
ToskersCorner
Рет қаралды 34 М.
Abstraction Can Make Your Code Worse
5:13
CodeAesthetic
Рет қаралды 677 М.
XAML for Beginners - Xamarin.Forms & .NET MAUI XAML
28:10
James Montemagno
Рет қаралды 77 М.
WPF C# Professional Modern Flat UI Tutorial
36:44
Payload
Рет қаралды 850 М.
7 C# Tips and Tricks to impress your .NET Developer friends
7:48
C# WPF Tutorial - Multiple Views
20:00
ToskersCorner
Рет қаралды 167 М.