Data Binding Modes in WPF

Sdílet
Vložit
  • čas přidán 27. 08. 2024

Komentáře • 54

  • @sonid71
    @sonid71 Před 7 lety +10

    The best way to understand Binding. Well done, good job

  • @kuldeepkr5730
    @kuldeepkr5730 Před 5 lety +4

    I am following this series for WPF. But I found one issue- The 'One Time' binding is not what you explained here-
    reason:- If you set anything to the 'Text' property of the textBox in the constructor, it will be shown on the UI you don't have to have any kind of binding (In this case ... I disagree that what you said is any kind of binding et al .... In my openion it is simply an initialization).
    OneTime binding is something like below:
    so you have to specify the value attribute in the xaml file instead of assigning values in constructor.

  • @r1johnny
    @r1johnny Před 5 lety

    Thank you very much. Finally, an example that works that I can reproduce. Thank you!!!

  • @bbarte
    @bbarte Před 2 lety

    Thanks for this great tutorial!

  • @9diweshkr9
    @9diweshkr9 Před 7 lety +1

    First time I have watched a great tutorial in WPF...in web I have found lots of material either free or with paid subscription for WPF but never watched that straight forward material...Cheers!!
    I am also encouraging my friends or needy one to subscribe your channel and follow the tutorial....Keep up the great work bud!!

  • @elangovan4ever
    @elangovan4ever Před 3 lety +1

    why do you set the text box value explicitly for the onetime binding? in this case the binding doesn't matter since you set the value explicitly.

  • @TheConwant
    @TheConwant Před 7 lety

    This helped a lot. Thank you! Was having trouble with finding someone explaining data bindings properly.

  • @arpitamagare133
    @arpitamagare133 Před 2 lety

    Most simplest explanation... THANKS 🙏

  • @aparnabhattacharya3921
    @aparnabhattacharya3921 Před 7 lety +2

    Best tutorial in WPF so far. Keep it up. Can you please clarify the following doubts-
    1. Is UpdateSourceTrigger only applicable for TwoWay mode or OneWayToSource as well because in both of these cases we are updating source.
    2. What is the practical use of OneTime binding

  • @fouadchelfi2590
    @fouadchelfi2590 Před 6 lety

    The best tutorial to understand Binding.

  • @Asisvenia
    @Asisvenia Před 5 lety

    Great! You clearly explained everything! Thank you for such an informative video.

  • @shakyadas5867
    @shakyadas5867 Před 5 lety +1

    This is a very helpful video, Thanks For the Tutorial but I want to say that (UpdateSourceTrigger=PropertyChanged) it will work on OneWayToSource also.

  • @Trzbne
    @Trzbne Před 6 lety

    I think you found the perfect example to show bindings.

  • @rahulchetwani6557
    @rahulchetwani6557 Před 6 lety +11

    Hi it's a great video but I have one doubt.
    In one time binding you are explicitly assigning the slider value to textbox then what is the use of binding there, I mean without binding also we can explicitly assign the value of slider to textbox.

    • @prashantio
      @prashantio Před 4 lety +2

      rahul chetwani That looks like a mistake. It should work without the explicit assignment.

  • @littlemivi
    @littlemivi Před 6 lety

    Very nicely explained. Hats off

  • @RajKumar-rq5vt
    @RajKumar-rq5vt Před 4 lety

    Easy to learn from you.
    Thank you soo much sir!

  • @padmajavudatha8294
    @padmajavudatha8294 Před 7 lety

    best tutorial for important WPF concepts

  • @romangenix6519
    @romangenix6519 Před 6 lety

    Best Explanation of Data Binding ...

  • @barthessing1075
    @barthessing1075 Před 7 lety +2

    Excellent, you have a thing for teaching :)

  • @fooballers7883
    @fooballers7883 Před rokem

    Excellent tutorial...txs

  • @SupraStututututu
    @SupraStututututu Před 5 lety

    Great example, thank you a lot!

  • @BitarTechgeek77
    @BitarTechgeek77 Před 5 lety

    Thanks dude awesome explanation

  • @33bockbock
    @33bockbock Před 2 lety

    THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @theethicalh3707
    @theethicalh3707 Před 4 lety

    thank you very much

  • @gauravgupta5573
    @gauravgupta5573 Před 6 lety +1

    Hi.. Excellent video. Thanks for uploading this. I have a doubt . What happens when default is selected as Binding mode and is it different with different types of controls(editable and non editable) ?

  • @navyan1300
    @navyan1300 Před 5 lety

    Very well explained

  • @ajaysingh-zo7hc
    @ajaysingh-zo7hc Před 4 lety

    Simple and lucid

  • @cobra20101010
    @cobra20101010 Před 4 lety

    SUPER ! this is it ! THX

  • @jayeshthamke7860
    @jayeshthamke7860 Před 7 lety

    Awesome explanation! Thanks

  • @swapnilshejul
    @swapnilshejul Před 7 lety

    This is indeed Cool stuff from DotNetSkool !

  • @navin2k6
    @navin2k6 Před 4 lety +1

    Nice video, thanks for sharing! In binding "Mode", it shows a 5th type i.e. 'Default'. What it is?

  • @sepi4
    @sepi4 Před 7 lety

    Good video. Well explained. Thank you

  • @iJoemo
    @iJoemo Před 7 lety

    Thank you, very good video.

  • @mannkumar123
    @mannkumar123 Před 7 lety +2

    Thanks for this video. Just have small concern. When we use Onetime binding at the end and write explicit code in constructor as below
    MySlider.Value = 50;
    MyText.Text = MySlider.Value.ToString();
    Now i am not getting how binding work because even if i remove binding it will set the slider value to textbox. So how onetime binding worked in that case.

    • @thomaskuzeja3851
      @thomaskuzeja3851 Před 7 lety

      If you remove the MyText.Text = MySlider.Value.ToString(), the OneTime binding should work.

  • @edrobinson8248
    @edrobinson8248 Před 2 lety

    best in town
    thanks
    any chance of some source code?

  • @Bsp98
    @Bsp98 Před 2 lety

    hi, in this video last you have shown localisation example....can you please tell me where i can find that resource and source code of it.

  • @The_Huyknd
    @The_Huyknd Před 5 lety

    Mah man. Thank you

  • @pulkit9479
    @pulkit9479 Před 7 lety +1

    Thank you Sir for the tutorial!
    I have an issue while implementing the 'OneWayToSource' mode of Data Binding. Below is the code I am using:
    The above code does not work. On changing the value in the textbox and hitting 'Enter' key does not change the slider.
    However, the binding works when using the 'UpdateSourceTrigger=PropertyChanged' property as shown below:
    In the video, you have told that 'UpdateSourceTrigger' property need to be used for two data binding.
    Could you please confirm if the property 'UpdateSourceTrigger' is also required in the mode 'OneWayToSource'?

    • @dotnetskoool5809
      @dotnetskoool5809  Před 7 lety +3

      Pulkit great ... Glad you tried it and made a awesome point.. yes updatesource trigger is required for one way to source... coz you are dealing with source....

    • @pulkit9479
      @pulkit9479 Před 7 lety

      Thank you Sir!

  • @akhileshsahu026
    @akhileshsahu026 Před 6 lety

    but how do we achieve our goal using Data Sources (Entity Framework) , please explain , rest the complete video is best for understanding the Data Binding

  • @rb.1845
    @rb.1845 Před 7 lety

    good one

  • @GudeDoc
    @GudeDoc Před 4 lety

    Which type of car is tooting at 11:50 ? :D

    • @dotnetskoool5809
      @dotnetskoool5809  Před 4 lety

      That means you watched my video.. 🤣
      Car hornes are routine in my part of world..

  • @ducanhle1363
    @ducanhle1363 Před 7 lety

    tks you so much

  • @user-bk1fl5wn5l
    @user-bk1fl5wn5l Před 6 lety

    영상잘봤습니다

  • @HOWYOUDOIN884
    @HOWYOUDOIN884 Před 6 lety

    I wish these were #'ed ;)