After doing this, either using a chrome extension or just in the RUclips settings, Idk how ppl still listen at regular speed. 1.5x to 2x is great and time saving
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
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...
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 !!
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
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.
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.
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 !
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.
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
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
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).
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 :)
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.
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)
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.
+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.
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?
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 ...}?
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)
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?😆
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!
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.
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
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 RUclips. It will be much easier to discuss through those than in RUclips comments.
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.
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
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
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.
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.
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!
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
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?
After doing this, either using a chrome extension or just in the RUclips settings, Idk how ppl still listen at regular speed. 1.5x to 2x is great and time saving
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..!!!
The best introductory tutorial to WPF I`ve seen so far.
I thought binding was extremely hard, but you managed to explain it properly in just 25 minutes. I'm amazed. Thanksssss a lot!
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
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...
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.
no shit, this is definetely the best intro on wpf on whole yt.
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!
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...
Same thing here !
the best intro to WPF I've found
Best WPF tutorial ever!!!
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 !!
I have been researching WPF with books and videos and your video really uncover the cloak of DataContext- Thanks
i think from all ur videos this was the best one
are you a teacher by trade?
by FAR, these are the best tutorials i've seen on any subject on youtube.
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
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.
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.
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
You deserve more subs
da dave dude Thanks! Hopefully ill get there! 😁
Great video. I swapped the Up and Left keycaps on my keyboard based on your suggestion. Life changing.
What did you mean by this?
The best! keep it going my bro!.
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 !!
Really well done. Thank you!!
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 !
Best intro ever for wpf....it seems You have great knowledge of wpf
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.
This was so helpful and was a perfect combination of explanation and examples. Thanks for making this!
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
this was great.. cleared a lot up for me on data context. Thanks!
Thank you, this is the clearest explaination I have ever seen.
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
I wish I started learning WPF with this video, last month...
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).
Excellent video 👍
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 :)
I loved it man, LOL at the end!
Thank's really! It helped me a lot in starting to understand this peculiar and sophisticated things, I hope...
Very nice vid I learned a lot
I find your tutorials really good , i big life saver
Awesome, Hope my content continues to help!
Nice explanation!! Thank you!
Awesome! Thanks!
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.
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)
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.
+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.
nice tutorial
what a great video !!!!!!! Thanks a lot! You should teach on the Udemy !!!
17:55 i don"t understand what this do... dockpanel yellow?? i see nothing changed?
It 's absolutely Awesome ! Thanks!
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?
has tought me more than random clicking(a technique wich works surprisingly well most of the time sometimes)
I hope that was a compliment :)
ToskersCorner yes it is a compliment
Haha, okay thanks :D Glad to help!
'
woow.... Tosker, you are just awesome, I wish to see you in Plurasight or Udemy, Lynda etc... you are awesome in explaining the concepts
Thank you for this great tutorial.
Thanks, Earl. Always glad to see people find this useful.
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 ...}?
Hi Buddy, completed 2 sets of wpf playlist. Waiting for some more concepts like Dependency Property, DataTemplate etc. Hope you will cover 😃
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)
Thanks Buddy 😊
Finally got it.. datacontext
Thank you for your tutorial!
great video
So useful!
Thanks for the help
is always needed to put crl when defining own xmlns? thanks for the video :)
fantastic !
24:06 "Whoops I always hate this little designer tool here"
Who doesn't?? 😁
In VS2019 go to 'Tools>Options>Debugging>General' and unclick "Enable UI Debugging Tools for XAML" Hey Presto!
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?😆
Hey tosker do you know anything about "ShutdownMode" porperty for apps
???
Very helpful
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!
be sure about that!
how do a private void event handler like radioButton_Checked access into a public MainWindow() or public void method variable?
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.
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
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 RUclips. It will be much easier to discuss through those than in RUclips comments.
thanks , it was wonderful , you have now new sub :)
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.
Sure, i I'll go through your all videos
Thanks for video!!!!!!!!!
No problem, Stepan! :)
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.
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)
Thanks
No problem! Thanks for checking out my channel :)
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
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
Watch tutorials in 1.25x speed.
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.
Nice tutorial. But the resolution of the video is a bit trashy
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.
Jym I am notorious for bad analogies. If it confused you feel free to ignore it lol.
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.
type comment comment here
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.
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!
Nothing understand , please simplyfy this tutorial.
No xaml. Just visual studio. Wtf.
Set the speed to 1.25x. Thank me later.
Thank you for this great tutorial.