Тёмный

C# WPF UI Tutorials: 01 - The Basics 

AngelSix
Подписаться 61 тыс.
Просмотров 1,1 млн
50% 1

Опубликовано:

 

30 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 909   
@dizzykwalla1198
@dizzykwalla1198 6 лет назад
This video is far more than basics. This video gives you a solid foundation to start building WPF the right way. I am so glad you explain every little button press and detail of what you're doing as it made this refreshingly easy to follow. I felt lost trying to layout my new app. But now, I just put everything in grids and stack panels and it's beautiful lol. Such great advice!
@AngelSix
@AngelSix 6 лет назад
Glad I could help. Yeah I think once you think of the layout in a different way, its very easy to construct anything you can imagine
@HOWYOUDOIN884
@HOWYOUDOIN884 3 года назад
no it doesn't... by 47:00 he is fumbling for words to explain why things aren't working... he does not understand the fundamentals of WPF! He is learning as he is going, and he's very much in need of an expert to take over.
@jordimorenosanchez584
@jordimorenosanchez584 2 года назад
​@@HOWYOUDOIN884 Everyone can do mistakes sometimes, we're humans, although he actually explained really well all the concepts I didnt understand by far from WPF in a fast and clean way with an APP example.
@HOWYOUDOIN884
@HOWYOUDOIN884 2 года назад
@@jordimorenosanchez584 well it's an example of the type of frustrating and of thing. For example, there's a billion homemade videos on object oriented programming, especially from India, where the person is just trying to give a good impression that they are giving the wrong information. Which to me makes me think that nobody in India is properly learned object going to programming, but they think they have. Anyway I've decided the world is a crazy place and I don't like it. 😂
@jordimorenosanchez584
@jordimorenosanchez584 2 года назад
@@HOWYOUDOIN884 Yeah, with time you'll learn articles > videos sometimes, but videos at first are helpful to gather some info, then later you can contrast it with articles / docs, that's how I actually learnt to read docs and I bet anyone on the programming world did the same, not with videos but maybe getting taught.
@Alekov_
@Alekov_ 5 лет назад
39:32 just changed my life
@준-k6w3y
@준-k6w3y 4 года назад
me too 킹왕짱 ㅋㅋ
@antonischaralampidis29
@antonischaralampidis29 4 года назад
holy yes
@ediccartman7252
@ediccartman7252 4 года назад
Absolutely
@MarkoKoljancic
@MarkoKoljancic 4 года назад
Same here, I remember when I first time saw this edit multiline trick. :D
@조민호-l1d
@조민호-l1d 3 года назад
킹왕짱 222
@ПетровичиК-м5у
@ПетровичиК-м5у 4 месяца назад
Who is watching this masterpiece in 2024 ?
@deebater5298
@deebater5298 3 месяца назад
Well you for starters, and me of course and with 1M views, I guess quite a few others. It's a good introduction to the basics without getting bogged down with all the MVVM stuff. Oh and by the way; Slava Ukraini and down with Orcs!😆
@johnpelitidis6297
@johnpelitidis6297 7 лет назад
At last.. someone who is thorough, concise and can speak english...
@AngelSix
@AngelSix 7 лет назад
Thanks :)
@mogwaii
@mogwaii 7 лет назад
What Juan said ^
@dabrosfloorsurveysltduk1789
@dabrosfloorsurveysltduk1789 6 лет назад
AngelSix Hi there. As I am new to programming and need a program to create graphs based on data collected from site would you be interested in doing one for me ?? More info when you confirm that you are interested in it .
@fraznofire2508
@fraznofire2508 6 лет назад
Jay D you’re clearly not cut out to be a programmer if you get people to do the programming for you
@dominiquebeaulieu
@dominiquebeaulieu 5 лет назад
J'aimerais mieux en français.
@tomdewilde7956
@tomdewilde7956 3 года назад
00:00 - Part I: Building The interface 28:37 - (Quick review of the code) 35:17 - Part II: Coding the buttons (adding events to the buttons) 35:17 *event - Click* Apply-button 38:29 *event - Click* Reset-button 41:55 *event - Checked* 46:12 *event - SelectionChanged* 52:17 *event - TextChanged* ==================================================================================================================================== for myself: I 26:00 *SelectedIndex="0"* Buttons & Checkboxes "Text" => everything else II
@MommyExplains
@MommyExplains Год назад
Fr fr thank u
@CsabaVargaZoltan
@CsabaVargaZoltan 4 года назад
This is by far the best WPF tutorial out there. It has the perfect pace for advanced beginners. Huge plus is that best coding practices are applied thoroughly (naming stuff, writing good comments in paralell with the coding, constant refactoring, organizing the project ... everything about the tutorial is just superb). The explanations are clear and you are treating your audience as adults without going into either too basic stuff or into too much details. At the same time the examples are very far from typical toy tutorial projects and can be applied in day-to-day work immediately (personal experience). You truly have managed to create a masterpiece, thank you very much!
@AngelSix
@AngelSix 4 года назад
Thanks. Really glad to help people out
@ragtop63
@ragtop63 4 года назад
46:07 In case anyone is wondering, the event name is "Click". This will trigger when the checkbox is checked or unchecked. It also triggers whether you use a mouse or the keyboard.
@GonzoGonschi
@GonzoGonschi 7 лет назад
fantastic explanations again. I hope you cover database and MVVM in the future. thank you for these great vids.
@AngelSix
@AngelSix 7 лет назад
Thanks. Yes I will be covering MVVM and view models firstly, probably in about 2 videos time, then databases I will go over via explaining Entity Framework
@yunuskaraman3207
@yunuskaraman3207 3 года назад
ay.link/wpfaps large wpf application
@DrALev
@DrALev 5 месяцев назад
Hello again, I also figured out the code for the UnChecked method for these checkboxes. Here it is: private void checkBox_Unchecked(object sender, RoutedEventArgs e) { string text = txtLength.Text; string[] texts = text.Split(' '); CheckBox checkBox = sender as CheckBox; string content = checkBox.Content + ""; if (text.Contains(content)) { int index = txtLength.Text.IndexOf(content); int count = content.Length; string newText= txtLength.Text.Remove(index,count); txtLength.Text = newText; } }
@patricktucci2818
@patricktucci2818 5 лет назад
Great video, thank you. As a WinForms developer trying to learn WPF, this is by far the best video I've seen on the topic. This video shows what to do and how to do it and doesn't dump a whole bunch of theory on the user. Nothing's more confusing than watching a WPF video and hearing someone drone on about "best practices" in WPF when you don't even know how to write XAML! Thanks again
@yunuskaraman3207
@yunuskaraman3207 3 года назад
ay.link/wpfaps large wpf application
@nsuhoreidemdavid3796
@nsuhoreidemdavid3796 4 года назад
I am using Visual Studio 2015, I downloaded the codes form github repository. I tried running the codes, to learn along with your videos, but I getting a flown error on virtually every file. I am a newbie, does visual studio 2015 not support your files?
@fadygamilmahrousmasoud5863
@fadygamilmahrousmasoud5863 3 года назад
what do I need to start this WPF series? I already have good knowledge of c# and LINQ and SQL Server Another question please, Are you going to build an entire application in this course?
@peppers1758
@peppers1758 3 года назад
Oh thank God. An easy accent to interpret
@Crux161
@Crux161 5 лет назад
The one thing I noticed that was missing was the original screen shot made use of a border behind the form. If you're trying to make it look 100% accurate then you'd need to add a 10 pixel border of #E0E0E0, and a border within and set it's "BorderBrush" to "DarkGray" with a BorderThickness of 1... This wrapped around the original Border tag shown in the video produces a form similar the screenshot he provides in the video.
@deveagle6193
@deveagle6193 6 лет назад
Excellent tutorial! Thank you for making this. This is the best WPF application I've seen on RU-vid. Looking forward to part 2. Also looking forward to more WPF / C# applications!
@AngelSix
@AngelSix 6 лет назад
Thanks glad you like it :)
@yunuskaraman3207
@yunuskaraman3207 3 года назад
ay.link/wpfaps large wpf application
@fernandofsan
@fernandofsan 7 лет назад
This channel is like netflix for me! enjoying!!
@AngelSix
@AngelSix 7 лет назад
ha awesome I'm glad it is :)
@d3struction61
@d3struction61 5 лет назад
Actually it's nothing like Netflix. Netflix wastes your money and time. These RU-vid channels educate you and help you better yourself and your career.
@yunuskaraman3207
@yunuskaraman3207 3 года назад
ay.link/wpfaps large wpf application
@yunuskaraman3207
@yunuskaraman3207 3 года назад
ay.link/wpfaps large wpf application
@shadilios
@shadilios Год назад
A quicker way to reset the check boxes all at once without writing all of them is to do this: 🐸🐸 private void ResetButton_Click(object sender, RoutedEventArgs e) { // boxes: is a name of a StackPanel containing all the checkboxes var checkBoxes = this.boxes.Children; foreach (CheckBox checkBox in checkBoxes) { checkBox.IsChecked = false; } }
@NoodleFlame
@NoodleFlame 3 года назад
If you want to keep the buttons the same size with spacing you can set the right margin to 6 for the left button, a left margin of 6 for the right button and a margin of 3 on both the left and right of the middle button. All three buttons will have then have the same size and the total margin spacing will be 9.
@marcol5374
@marcol5374 7 лет назад
Thanks a lot, great tutorial !!! the best videos to learn wpf !!!!
@AngelSix
@AngelSix 7 лет назад
+Marco L thanks
@yunuskaraman3207
@yunuskaraman3207 3 года назад
ay.link/wpfaps large wpf application
@classygaming7328
@classygaming7328 7 лет назад
Great Tutorial! Definitely the best I have found so far about Design in WPF. One Question could you tell for or make a video about how to add a kind of hint or ghost text to a Text box for example when you go to sign up for an account on Facebook it will Say "First Name" in the box for your name. Again Great tutorial keep it up!
@AngelSix
@AngelSix 7 лет назад
+Classy Gaming yes already done just flick through and look at the sign up screen
@dineshkumarsoftware
@dineshkumarsoftware 3 года назад
Use 1.25x and you got the best video ever made on this topic.
@nidaren
@nidaren 7 лет назад
Fantastic guide, thank you!
@AngelSix
@AngelSix 7 лет назад
Thanks. Glad you like it
@GameFreasher
@GameFreasher 2 года назад
This video is quite simple and easy to understand. I understood fundamentals of WPF Elements so easily. Thanks for the video.
@AhmedHussainy2199
@AhmedHussainy2199 7 лет назад
I watched a lot of tuts and I have experience on WPF but not no one teaches like you really good work and keep uploading videos there are a lot of people who are hungry for learning.
@AngelSix
@AngelSix 7 лет назад
+Ahmed Hussainy thanks I'll keep the videos coming
@yunuskaraman3207
@yunuskaraman3207 3 года назад
ay.link/wpfaps large wpf application
@thndrkeepevolving5266
@thndrkeepevolving5266 3 года назад
This is the BEST WPF TUTORIAL ever. Thank you so much as I am coming from Java.
@Kryptonic1997
@Kryptonic1997 7 лет назад
Holy shit man. You explain much better than my professor. Great job!
@AngelSix
@AngelSix 7 лет назад
Gre3n! thanks man. don't tell your professor!
@scotolivera8207
@scotolivera8207 3 года назад
I really love this channel and i hope he come back soon.
@umliuq
@umliuq 7 лет назад
Great video, thanks for sharing your knowledge! Would you cover error/exception handling in future videos? You made things so much easier to understand, amazing teaching! Thanks!
@AngelSix
@AngelSix 7 лет назад
Sure I'll do one on debugging probably after the next video which will be WPF as everyone keeps asking for those :)
@yunuskaraman3207
@yunuskaraman3207 3 года назад
ay.link/wpfaps large wpf application
@brianfrancis5548
@brianfrancis5548 Год назад
Thank you for putting together this series. Best intro to WPF out there by far from my perspective. Good content and pacing and everything is clearly explained like the null reference exception toward the end. Was good that that happened as people new to this could be stymied by stuff like that when they go to build their first application.
@MaoDev
@MaoDev 4 года назад
do you think it's worth it to learn wpf in 2020?
@HOWYOUDOIN884
@HOWYOUDOIN884 3 года назад
depends what you want to do... it's the most flexible framework for UI
@meddjelaili
@meddjelaili Год назад
can we specify the sender type? like so private void FinishDropdown_SelectionChanged(ComboBox sender, SelectionChangedEventArgs e){ string selected = ((ComboBoxItem)sender.SelectedValue).Content; }
@eitzhadas
@eitzhadas 7 лет назад
Incredible video! One question, any specific reason you write 'x:Name' rather than the shorter 'Name', which I believe works the same?
@AngelSix
@AngelSix 7 лет назад
+eitzhadas habit. When I used WPF years ago you needed the x. I'll try and remember to remove it
@AngelSix
@AngelSix 7 лет назад
also I found using Name without x: in a lot of places lately causes namespace conflicts. so best to stick to x:Name
@yunuskaraman3207
@yunuskaraman3207 3 года назад
ay.link/wpfaps large wpf applications a
@Collidedatoms
@Collidedatoms 4 года назад
I rewrote the reset button by writing an uncheck function and making it so that no matter what checkboxes you have in there or what their names are, it will uncheck them and make the appropriate changes in the textbox: private void ResetButton_Click(object sender, RoutedEventArgs e) { IEnumerable boxes = from CheckBox checkbox in this.CheckBoxes.Children where checkbox.IsChecked == true select checkbox; foreach (CheckBox box in boxes) { box.IsChecked = false; Checkbox_Unchecked(box, null); } } private void Checkbox_Unchecked(object sender, RoutedEventArgs e) { String text = ((CheckBox)sender).Content + " "; int position = this.LengthText.Text.IndexOf(text); this.LengthText.Text = this.LengthText.Text.Contains(text) ? this.LengthText.Text.Remove(position, text.Length) : this.LengthText.Text; }
@brock2k1
@brock2k1 2 года назад
Great video, great course, but am I the only one who keeps expecting him to say, "That's what your wife said, Trebek!" He sounds just like Daryl Hammond's imitation of Sean Connery.
@Shouko91
@Shouko91 4 года назад
TIP. You don't have to type "this". It's actually unnecessary. Writing 'This.Textbox.Text' or 'Textbox.Text' is the same.
@pjjx5471
@pjjx5471 3 года назад
Isn't it that the tag should be the top most then , etc.? At least that's my understanding on the proper hierarchy. Correct my if I'm wrong.
@cadprogramming
@cadprogramming Год назад
Thanks for the amazing video. And your PC Wallpaper is cool, can you send the link where download the wallpaper
@r1johnny
@r1johnny 3 года назад
Fantastic job! Subscribing now. This presentation was excellent. TYVM
@ErikMurt444
@ErikMurt444 3 года назад
Shortcuts for textblocks didn't want to work no matter what I tried, it would still think that textblock didn't have an end and it was corrupting my code. Had to do the full version of them. edit. I missed "equals" after Text.
@sammagham7989
@sammagham7989 5 лет назад
Who the fuck thumbs down this video?!! SMH Thank you AngelSix!
@demansou88
@demansou88 6 лет назад
Your videos are excellent. Thanks for making content for SolidWorks and WPF. It's helped me immensely with getting up to speed on creating an add-in for my company.
@AngelSix
@AngelSix 6 лет назад
No problem glad you liked them
@yunuskaraman3207
@yunuskaraman3207 3 года назад
ay.link/wpfaps large wpf applications a
@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.
@blackky92
@blackky92 5 лет назад
I am glad that people like you exist. Thank you for sharing your knowledge.
@yunuskaraman3207
@yunuskaraman3207 3 года назад
ay.link/wpfaps large wpf application
@tollinroth5939
@tollinroth5939 3 года назад
I'm trying to figure out the unchecked part of the checkboxes, where the length text will remove an item if unchecked in the code behind. I'm struggling to figure out how to remove an unchecked item. Can you help me?
@ragtop63
@ragtop63 4 года назад
Love this series. Thank you for creating it. I have a question: I have watched many tutorials on how to get started with WPF and I have seen people use different techniques to achieve the UI goals they set for the project. Two different styles kind of struck my curiosity. The first one is the method(s) you're using in this series and the other is what I'll call a "Grid" style approach, very similar to how Bootstrap works for responsive web UI development. What I'm curious about is, is there a sort of best practices when deciding how you're going to build out your UI and what things should be considered when creating a dynamic (i.e. single-page) UI?
@yunuskaraman3207
@yunuskaraman3207 3 года назад
ay.link/wpfaps large wpf applications
@steved.1754
@steved.1754 3 года назад
43:44 not sure anyone would reply, but what's happening here and what does ((checkbox)sender) mean or how does it convert it into checkbox?
@ahmedabdalmuhsenalhusnawe7821
@ahmedabdalmuhsenalhusnawe7821 2 года назад
Thank you very much for this nice clarification.. I have a question.. How can we put the cursor in a specific text box when we start loading the frame
@lackypasha6487
@lackypasha6487 2 года назад
40:35 so at this moment for optimization, can't you make a name for these grid and by foreach put for those checkboxes.ischecked = false?
@xhaven80
@xhaven80 2 года назад
I couldn't find anything on the web for the unchecked event which would delete the text from you LengthText.Text block. Did you ever figure it out? 46:01 in.
@ctbram0627
@ctbram0627 5 лет назад
pressing space after on my system it just does a space. I tried tab, shift tab, alt tab...and just gave up and manually typed --> lol Very good tutorial. Although the wheels kind of came off near the end. Thx.
@sulev111
@sulev111 5 лет назад
so how can I make the UNCHECKING delete the last added text? (.Replace() seems to do the trick)
@RugbugRedfern
@RugbugRedfern 3 года назад
This is by far the best WPF tutorial I've ever watched. Thank you SO MUCH!
@illmtoloko
@illmtoloko 4 года назад
Is it possible to create this on linux using Visual Studio Code with .net core, that can be build to execute on linux and build as ".exe" self-contained?
@HOWYOUDOIN884
@HOWYOUDOIN884 3 года назад
this gets to be hilarious... by 47:00 he is kinda in over his head and doesn't really know what he is doing is really doesn't understand the fundamentals of WPF and yet he maintains such a confident voice.
@pHaace
@pHaace 6 месяцев назад
7 years and probably perfectly fine to use this in new wpf project to learn stuff huh? lol
@adnenbenawicha5082
@adnenbenawicha5082 9 месяцев назад
thank you for this amazing video, I can't fin the source code on github
@jeremyolu2787
@jeremyolu2787 Год назад
if you want a cleaner way to reset checkboxes - i would add individual checkboxes to a list of type checkbox and then in the reset btn logic foreach over the list and set each checkbox to false
@hulkhan8338
@hulkhan8338 6 лет назад
You did a great copy & paste trick at 38:53 which I didn't have a clue about before :) Btw awesome tutorial!
@AngelSix
@AngelSix 6 лет назад
Hold Alt then click/drag a region
@balamurugankumaresan33
@balamurugankumaresan33 2 года назад
Very Good, Nicely Explained about WPF
@markdickensapdatamigration6283
I gave a thumbs up as a *good* Trainer ...
@AngelSix
@AngelSix 5 лет назад
Thanks
@jokers_336
@jokers_336 2 года назад
TNice tutorials was super helpful, dude! I got the tutorial version of soft soft just to get a taste, and after figuring it out I decided to purchase the
@ThanhTran-ki1lz
@ThanhTran-ki1lz 6 месяцев назад
Newbie here. Thank you for your videos. It saves me a lot of time.
@babakiani
@babakiani Год назад
Thank you very much Sir! This was great starter for beginners
@operati0n
@operati0n 4 месяца назад
amazing video, i love the way you teach things. thanks!
@mathewo9209
@mathewo9209 4 года назад
41:25 is hands down the ugliest thing I've ever seen. Otherwise, thank you for such a lovely tutorial.
@AngelSix
@AngelSix 4 года назад
Haha :)
@prameelasekhar
@prameelasekhar 4 года назад
getting errors with drop-down c# code, may be version changed now ...
@jithz_07
@jithz_07 4 года назад
Thanks For Such A wonderful WPF Basics
@quaitheqarth2645
@quaitheqarth2645 Год назад
How do I get the "Troubleshooting tips" on 47:29. It's a bit tricky to write what should be converted with FinishDropdown_SelectionChanged() I would make the same mistakes like xxx.Text= (string)((ComboBox)sender).SelectedValue;
@windowsbuilderthegreat3121
@windowsbuilderthegreat3121 4 года назад
Is there a CSS equivalent to xaml because there is a lot of repeating of code in the video
@knightdef765
@knightdef765 3 года назад
Bro! God Bless you, your content is super Elite and simple to follow.
@Dimo_Program
@Dimo_Program 11 месяцев назад
Thanks techer verygood iam Kurdsh in cuntry Iraq Wach your viduos
@ahmedschhaider4762
@ahmedschhaider4762 5 лет назад
Hello, Thank you for the tutorial, Just I have a question: Can you give us a tutorial how to manage with reporting in MVVM wpf applications, Best regards,
@hamitenes5573
@hamitenes5573 2 года назад
This video is extremely good. Thanks for your effort.
@i_fuk_religion
@i_fuk_religion 5 лет назад
I am a Winform developer. Do I have to write the whole designer code??? Its like designing html pages in 1990's where you have to type everything by hand. I will stick with Winforms.
@reardenmetal
@reardenmetal 5 лет назад
No not that in WPF you can have more controll on your with xaml but you can prefer the designer as well
@TheDrHaze
@TheDrHaze 3 года назад
Thanks, this is one of the best courses I've ever came across!
@عصافيرجنتي
@عصافيرجنتي Год назад
ربنا يقدرك علي فعل الخير ان شاء الله ويجعلك داعم لكل محتاج ان شاء الله بحثت عنك لاقيتك لاعب كرة سعودي ربي يوفقك لكل خير يا رب العالمين
@Whoisemmanuel
@Whoisemmanuel 7 лет назад
Just wanted to share a quicker way to uncheck all the checkboxes. This only works if the container has no other types of containers inside of it. private void ResetButton_Click(object sender, RoutedEventArgs e) { foreach (Control ctl in CheckBox1.Children) { if(ctl.GetType() == typeof(CheckBox)) { ((CheckBox)ctl).IsChecked = false; } } foreach (Control ctl in CheckBox2.Children) { if (ctl.GetType() == typeof(CheckBox)) { ((CheckBox)ctl).IsChecked = false; } } The each stack panel has been named other than that it's all the same.
@NestedMango
@NestedMango 5 лет назад
Great tuto..Sir...By using C# We can Make 2d and 3d game on Unity game engine. Unity is free.
@echdeneth
@echdeneth 4 года назад
In Englisch, gibt es nicht genug WPF Tutorials in Englisch? Ein paar gute in Deutsch wären sicher nicht unerwünscht. Vor allem wenn ich bemerke, das dieses Tutorial richtig gut ist. Aber Englisch...
@drzewolubXD
@drzewolubXD 2 года назад
What should I do if I dont have Visual Code? Is it any free editor?
@PowellRandolph-k4c
@PowellRandolph-k4c 26 дней назад
Johnson Christopher Gonzalez Nancy Johnson Scott
@fooballers7883
@fooballers7883 Год назад
A worked example in a tutorial is great..... Thank you for a wonderful tutorial...Much appreciated.
@ShafiMALL
@ShafiMALL 7 лет назад
have got fantastic learning skill :)
@AngelSix
@AngelSix 7 лет назад
Thanks!
@AngelSix
@AngelSix 5 лет назад
My Setup & Recommendations www.amazon.co.uk/shop/angelsix
@qwertyls8552
@qwertyls8552 4 года назад
Great tutorial!!! God bless you for subtitles though xDDD. And dark theme would probably looks nicer for an eye...
@michmich6645
@michmich6645 4 года назад
But just for an eye
@yunuskaraman3207
@yunuskaraman3207 3 года назад
ay.link/wpfaps large wpf applications
@majrohi1
@majrohi1 7 лет назад
Subscribed Already! Thank you so much. I hope you keep great videos coming our way. With time, please move on to the most advance levels of it. We would love to learn more and more from you. Thanks again.
@AngelSix
@AngelSix 7 лет назад
Definitely. As we progress we will be making the entire full app. We will be connected to a server we also make, and creating an entire chat application that can easily rival WhatsApp. You will learn it all
@mk_freestyle1717
@mk_freestyle1717 6 лет назад
private void Uncheck(StackPanel sp) { foreach (var i in sp.Children) { if (i is CheckBox cb) cb.IsChecked = false; } }
@DeviantDeveloper
@DeviantDeveloper 3 года назад
Didn't realise Michael Owen was into coding...
@user-it6jd1sb6k
@user-it6jd1sb6k 5 лет назад
There is a way to set the buttons up the good way: Set a border around each button:
@AnNguyen-pj1wg
@AnNguyen-pj1wg 6 лет назад
Hi everyone, how can i delete the selected Content of the checkboxes in the LengthText, i use : this.LengthTextbox.Text -= (string)((CheckBox)sender).Content; but this is the Error Way, hope someone help !!!, Thank you in advance :'(
@AngelSix
@AngelSix 6 лет назад
LengthTextbox.Text = null, or LengthTextbox.Text = string.Empty
@RollinShultz
@RollinShultz 5 лет назад
While doing this tutorial I encountered a problem. In the "status and revision" grid the status stack panel using grid.column="0" nothing showed. I carefully scrutinized the typing and all was well. I added another column definition with a width of 1 and changed status to 1 and revision to 2 and it acted appropriately. I am using VS2019. Ι had the same issue with the checkboxes, I could not use column "0".
@AngelSix
@AngelSix 5 лет назад
Source code is in description. Compare it to that
@nolimitsREAL
@nolimitsREAL 5 лет назад
Hello, I have created an interface and now i need to look how to connect to a database, where i need to look, to see how it's done, or a good example ? thank you
@henrygene5899
@henrygene5899 5 лет назад
I'm sorry, but anyone who teaches WPF by "I know all the commands, so I'll just type them in.." is not appropriate for the newbies, that it purports to be. You should not have to know to type in "Stack Panel" or any of the other commands :(
@AngelSix
@AngelSix 5 лет назад
Come again? So someone who teaching WPF should not know WPF? Or are you saying I shouldn't tell you what a StackPanel is and instead just say type along kids?
@elModo7
@elModo7 7 лет назад
I'm at the office, but I just had to login to like the video and tell you: This is such an amazing guide, good job and thanks for putting such an effort into this! 💯
@AngelSix
@AngelSix 7 лет назад
Thanks glad you like it :)
@WorstDeveloper
@WorstDeveloper 7 лет назад
One question, why do you type "this." before everything? If you notice, the editor greys it out, meaning you don't need to type it. Or is there some specific reason you do it? PS. Sorry for taking up all your time with a bunch of comments. :D
@AngelSix
@AngelSix 7 лет назад
+CodeBit it was my preference for years that I recently changed. Typing this. for any variable that's part of the class it's used within makes it explicitly obvious that the variable is local to the class. However in future videos I change my preference and remove it.
@chrisn.6760
@chrisn.6760 4 года назад
Ändert die Beschreibung auf englisch wenn die gesprochenen Sprache im Video englisch ist.
@RobertShane
@RobertShane 4 года назад
Since this works similar to HTML, does it have something similar to CSS where I can create a style that gets applied to all buttons and be able to switch out different styles?
@AngelSix
@AngelSix 4 года назад
Yes and no. The XAML is a markup language (ML) so similar to HTML. Styling however is not technically the same. You can make styles and apply to components, but you don't tend to switch them out the same. You tend to bind the specific style properties to view models or value converters and change the styles that way
@NevaranUniverse
@NevaranUniverse 7 лет назад
Very interesting how you did the message box part. Does "string {variable}" across all C# or is it just a WPF feature? I have never seen someone do it in such a way.
@AngelSix
@AngelSix 7 лет назад
$ in front of a string like $"some string" means inside that string you can use {} to break out into code and return anything that will convert to a string. It is a C#7 feature so if you are using the latest VS you will have it everywhere
@wanderingflower3979
@wanderingflower3979 3 года назад
Good explanation for beginners . This helped me alot. Thankyou. Do more videos for beginners 😊👍
@MommyExplains
@MommyExplains Год назад
The explanation is really well done! He explains everything, thank you for this tutorial +rep
Далее
C# WPF UI Tutorials: 02 - TreeViews and Value Converters
1:15:55
The Basics of Data Binding in WPF
20:53
Просмотров 43 тыс.
Is LEARNING WPF still WORTH it in 2023?
10:59
Просмотров 51 тыс.
Being Competent With Coding Is More Fun
11:13
Просмотров 83 тыс.
Premature Optimization
12:39
Просмотров 811 тыс.
WPF C# Professional Modern Flat UI Tutorial
36:44
Просмотров 822 тыс.
Brutally honest advice for new .NET Web Developers
7:19
C# WPF UI Tutorials: 07 - Storyboard Animations
45:02
Просмотров 111 тыс.