The Basics of Data Binding in WPF

Sdílet
Vložit
  • čas přidán 27. 08. 2024
  • Data binding is a crucial concept in WPF that enables developers to establish dynamic connections between the user interface (UI) elements and data sources such as databases, collections, or objects. It allows for seamless synchronization of data between the UI and the underlying data source, eliminating the need for manual data manipulation.
    In this video, we will start with the basics of data binding in WPF, including understanding the different types of data binding, such as one-way and two-way data binding. We will explore the syntax and usage of data binding expressions, and learn how to bind data to various UI controls such as text boxes, labels, list boxes, and data grids.

Komentáře • 34

  • @NordicAutomation
    @NordicAutomation Před rokem +8

    Finally I understood the essence of data binding! Thanks a lot!

  • @RaqiGirl
    @RaqiGirl Před 5 měsíci

    I just watched one of your videos. I finally understood Data Binding because you explained "WHY" it works. Thank you!

  • @scramjet4610
    @scramjet4610 Před rokem +2

    Excellent video. Makes complex Data Binding topic understandable to beginners.

  • @MM-zm7ck
    @MM-zm7ck Před 4 měsíci

    hey I have watch tons of video , but I like your teaching style , it's very beginner friendly . hope you will have more. thank you

  • @mecheil2000
    @mecheil2000 Před 2 měsíci

    Very good...
    Thank You for your demonstration

  • @rodrigocornidez1917
    @rodrigocornidez1917 Před 4 měsíci

    Great explanation, thank you for this!

  • @user-si8xr5vi7h
    @user-si8xr5vi7h Před 7 měsíci +1

    Great Lesson , thx

  • @doongie07
    @doongie07 Před rokem

    Thank you Tactic Devs :)

  • @nicolasfok5661
    @nicolasfok5661 Před 10 měsíci

    LifeSaver mannnnn ! Please continue your quality content ! =D

  • @JEBJOSH
    @JEBJOSH Před rokem

    I love your tutorials/. They are so helpful. Thank you

  • @sulmarpl
    @sulmarpl Před měsícem

    I prefer use a trigger for visibility instead of a converter, although it's a good example use of converter.

  • @GOODBOY-vt1cf
    @GOODBOY-vt1cf Před 3 měsíci +2

    13:42

  • @harry6270
    @harry6270 Před 7 měsíci

    Great tutorial!

  • @_rachid
    @_rachid Před 3 měsíci

    Thank you

  • @Kilohercas
    @Kilohercas Před 8 měsíci

    How can I do the same with helper class ?

  • @mixguru9669
    @mixguru9669 Před rokem

    Very clear

  • @fooballers7883
    @fooballers7883 Před 7 měsíci

    Thank you....A well explained tutorial.

  • @pierrestcergues
    @pierrestcergues Před 8 měsíci

    thanks!

  • @olanrewajusaka3991
    @olanrewajusaka3991 Před rokem

    Nice tutorial sir, please sir can you do wpf for beginners or can you recommend any video tutorial sir. I only have the knowledge of. # but also want wpf but don't know where to start from sir

  • @abdullahalnayem9406
    @abdullahalnayem9406 Před rokem

    Thanks

  • @minhhoangcong9155
    @minhhoangcong9155 Před 2 měsíci

    but how did it know to appears when you checked and disappear if unchecked ? i dont see any configuration about this in your code

    • @TacticDevs
      @TacticDevs  Před 2 měsíci

      try to check at 16:40

    • @minhhoangcong9155
      @minhhoangcong9155 Před 2 měsíci

      @@TacticDevs I mean what if we want it to disappears when you checked or appear when checked

    • @minhhoangcong9155
      @minhhoangcong9155 Před 2 měsíci

      like how do you take control of that

    • @TacticDevs
      @TacticDevs  Před 2 měsíci

      @@minhhoangcong9155 That means you need to write a custom converter And write the logic of that converter to convert between Boolean and visibility based on the conditions you want

    • @minhhoangcong9155
      @minhhoangcong9155 Před 2 měsíci

      @@TacticDevs Thank you for answering

  • @shahzaib715
    @shahzaib715 Před rokem

    so awesome but bro we can show this in C# code without binding only with box value is true or false then why this binding we need to use?

    • @TacticDevs
      @TacticDevs  Před rokem +1

      The reason we need to use it is because it’s going to automatically change the value for us if we don’t use it we will will have to manually change it

    • @shahzaib715
      @shahzaib715 Před rokem

      @@TacticDevs ohh alright I got youe point bro actually I'm just learning c# so asked

  • @HeadingWatch
    @HeadingWatch Před 19 hodinami

    Allen Larry Lee Jessica Taylor Kenneth

  • @blayzehoodly2957
    @blayzehoodly2957 Před 19 dny

    my guy you really have great tutorials but you make them hard to start along with by not providing the startup code

    • @TacticDevs
      @TacticDevs  Před 19 dny

      thanks noted

    • @luciusrex
      @luciusrex Před 16 dny

      you really dont need it. its basic scaffolding, if thats something thats challenging for you perhaps you should first start with xaml?