C# WPF Tutorial #5 - Grid Control for Basic Responsive Layouts

Поделиться
HTML-код
  • Опубликовано: 20 май 2024
  • Diving into the Grid control to learn the basics of creating a clean, responsive UI design. Creating row and column definitions, adding elements within a grid, putting grids inside of grids (Gridception!), and learning how to set your grids' properties to allow your content to respond exactly how you want it to.
    Happy Coding!
    Chapters:
    0:00 Intro
    0:34 Window Content Info
    1:28 Accessing Element Properties
    2:23 Row/Column Definitions
    3:19 Adding Elements to Grid
    5:14 Grid Layout Example
    7:09 XAML Comments
    7:34 Nested Grid Layout Example
    10:44 Next Up
    11:44 Info/Tips
    12:42 Next Up
  • НаукаНаука

Комментарии • 56

  • @dboychou
    @dboychou 7 месяцев назад +8

    full respect to the people like u posting good educational content for free - I just blew 10 bucks on a coursera course I finished in under an hour that hardly taught me anything

    • @KampaPlays
      @KampaPlays  7 месяцев назад +1

      Appreciate that. Very glad to help!

  • @NiggaInTech
    @NiggaInTech Год назад +7

    Thanks!

    • @KampaPlays
      @KampaPlays  Год назад

      Thank you so much; really appreciate that!

  • @brianfrancis5548
    @brianfrancis5548 3 месяца назад +3

    I think this series is outstanding. I've seen some other videos on C#/WPF and none of them come close in my opinion. The presentation is clear and concise you don't gloss over or skip details that are important for grasping the material.

    • @KampaPlays
      @KampaPlays  3 месяца назад

      Really appreciate that!

  • @charankumar9897
    @charankumar9897 2 месяца назад +3

    We are getting more interest to learn this because of the way you are explaining each and every minute detail , love your videos❤
    Thank You for the awesome work!

  • @user-uw6pn6rw4c
    @user-uw6pn6rw4c 2 месяца назад +2

    one of the best lectures, reason of each action is explained properly

  • @dabunnisher29
    @dabunnisher29 10 месяцев назад +7

    You did a great job on these tutorials. You explained everything in a very clear and non-dry way. I think this may be one of the best WPF tut series for beginners. I am currently working on Avalonia, but I needed the basics of WPF and your series has helped me so much. I subscribed and liked all of the videos in this series. THANK YOU for your efforts.

    • @KampaPlays
      @KampaPlays  10 месяцев назад

      Thanks so much, that means a lot!!
      How do you like Avalonia? I've dabbled in it but haven't had a good deep dive.

    • @dabunnisher29
      @dabunnisher29 10 месяцев назад

      @@KampaPlays I need to master WPF before I can really get it going. Im really interested in making things for my Raspberry Pi and other stuff. Again, Thank you so much for your awesome tutorials.

  • @wookyumkim4669
    @wookyumkim4669 Год назад +6

    Your tutorial video is awesome again!! I really hope to keep study c# WPF with your videos. I so appreciate your videos. Thank you so much.

    • @KampaPlays
      @KampaPlays  Год назад

      Thank you!! I'm glad they are helping. Thank you for watching!

  • @anasrn1616
    @anasrn1616 3 месяца назад +1

    you deserve an award for this course!!, I'm preparing for the new trimester for school and we have a new subject about XAML and C# and i guess i will be more than ready for it, thanks to you.

    • @KampaPlays
      @KampaPlays  3 месяца назад

      That is awesome, hope that it comes in handy for your course!

  • @Sdirimohamedsalah
    @Sdirimohamedsalah 7 месяцев назад +2

    Your tutorials are Exceptionally very well explained! I support and recommend

  • @cerennuralp
    @cerennuralp 10 месяцев назад +2

    Your tutorial videos are exacly what i needed. Thanks a lot!

    • @KampaPlays
      @KampaPlays  10 месяцев назад

      Awesome, thank you!

  • @HemantChauhanMsc
    @HemantChauhanMsc 5 месяцев назад +1

    You explained it exceptionally well. I was looking for this and found the perfect explanation. Many many thanks.

    • @KampaPlays
      @KampaPlays  5 месяцев назад

      Thank you! Glad to help.

  • @edinetgrunhed6000
    @edinetgrunhed6000 5 месяцев назад +1

    if i knew this channel before, perhaps i already master the WPF!!!, thank u bro, it very helpful and i like the xaml style

    • @KampaPlays
      @KampaPlays  5 месяцев назад

      Glad that its helpful!!

  • @nhattpam
    @nhattpam Год назад +2

    Amazing tutorial!!!!

  • @qwerty3000
    @qwerty3000 5 месяцев назад +1

    This is gold ❤

  • @Grixotz
    @Grixotz Год назад +1

    liked and subscribed! thanks for these tutorials

  • @halivudestevez2
    @halivudestevez2 11 месяцев назад +1

    nice hands on tutorial!

  • @MethodOverRide
    @MethodOverRide Год назад +3

    Great video as always! This definitely helps give me an idea of how to set up a UI in WPF. Will a later video include how to use files for each grid section?
    Also what is your recommendation for referencing the properties of the different elements? Maybe just have MS docs open for WPF as you code? It seems like there are so many possible properties for an element like colors, positioning etc it could be hard to know what's available at first. Does intellisense pop up with options for available methods or properties like a variable of an object? I'm finding that very helpful when coding and I didn't notice that happening. Maybe you have it turned off for recording?

    • @KampaPlays
      @KampaPlays  Год назад +1

      Thank you!
      Yes, the next video will show how to create a custom control and include it in the grid layout.
      Intellisense does work in the XAML editor, I just have such a habit of putting in a couple of letters and letting tab do the rest of the work so it doesn't have time to open! 🤣
      The most common properties for styling will quickly become second nature, because so many of them are common to many controls. Since there are so many possibilities, for the rest I think the best thing to do is let necessity guide you.

  • @Lawh
    @Lawh День назад

    I'm getting this:
    Property elements cannot be in the middle of an element's content. They must be before or after the content.
    EDIT:
    Fix this by setting rows and columns and then settings everything else.

  • @willkamechehe1496
    @willkamechehe1496 Год назад +1

    Subbed!

  • @vladshkliaruk
    @vladshkliaruk 4 дня назад

    cool

  • @notohkae
    @notohkae 6 месяцев назад +1

    at the end, you said about putting some of the xaml code in its own file, how do you do that?

    • @KampaPlays
      @KampaPlays  5 месяцев назад

      Sorry for the delay - there are several ways to separate xaml into their own files, but I would say that 2 of the most common ways are by creating custom user controls to separate code (tutorial #6) and creating reusable styles (tutorial #20). It basically boils down to just creating another xaml file and including it, very easy!

  • @mojitharanasingha9808
    @mojitharanasingha9808 2 месяца назад +2

    Done : 2024/03/18

  • @00fke
    @00fke Год назад +1

    Better audio in this one!

  • @vairamvinoth3345
    @vairamvinoth3345 9 месяцев назад

    Why do you mentioned boolen condition, directly use if condition only, so same answer

    • @KampaPlays
      @KampaPlays  9 месяцев назад

      Not sure... Which part of the video are you referring to?

  • @NiggaInTech
    @NiggaInTech Год назад +1

    where do i tip, these videos are amazing lol

    • @KampaPlays
      @KampaPlays  Год назад

      🤣 Thanks so much!!! (There is a "Thanks" button for tipping, but sharing the video would help out too!)

    • @NiggaInTech
      @NiggaInTech Год назад +1

      @@KampaPlays No, Thank You ! Also how long and how often are you planning to release videos for this playlist?

    • @KampaPlays
      @KampaPlays  Год назад

      @@NiggaInTech I try to do one per week, sometimes I'll do 2 if they are short or belong together, and sometimes I'll miss a week due to work/schedule. There are a lot more topics I'd like to cover in WPF, so it will probably be going on for several months if not longer. Also, there are some topics that will need to be covered alongside this tutorial (like multithreading, class libraries, etc) so I will need to do some general topic videos in between. If you have any suggestions or questions please let me know!

    • @NiggaInTech
      @NiggaInTech Год назад +1

      @@KampaPlays Awesome i'm so pumped, only suggestion I would have is maybe making git hub repo for each lesson code? Cheers!

    • @KampaPlays
      @KampaPlays  Год назад +1

      I will definitely be making use of git repos soon, especially when the tutorials have a bit more scope to them. I try to leave the option to copy/paste out of the basics in hopes that it will help with better learning/understanding/remembering. It also forces me to go back over what I've done, which keeps me in line too! 😂

  • @offlinemoe
    @offlinemoe Год назад +1

    The explanation is perfect 🫡