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.
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!!
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
This is a very helpful video, Thanks For the Tutorial but I want to say that (UpdateSourceTrigger=PropertyChanged) it will work on OneWayToSource also.
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.
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) ?
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.
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'?
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....
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
The best way to understand Binding. Well done, good job
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.
Thank you very much. Finally, an example that works that I can reproduce. Thank you!!!
Thanks for this great tutorial!
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!!
Thanks buddy.. Your appreciation means a lot to me..
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.
This helped a lot. Thank you! Was having trouble with finding someone explaining data bindings properly.
Most simplest explanation... THANKS 🙏
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
The best tutorial to understand Binding.
Great! You clearly explained everything! Thank you for such an informative video.
This is a very helpful video, Thanks For the Tutorial but I want to say that (UpdateSourceTrigger=PropertyChanged) it will work on OneWayToSource also.
I think you found the perfect example to show bindings.
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.
rahul chetwani That looks like a mistake. It should work without the explicit assignment.
Very nicely explained. Hats off
Easy to learn from you.
Thank you soo much sir!
best tutorial for important WPF concepts
Best Explanation of Data Binding ...
Excellent, you have a thing for teaching :)
Excellent tutorial...txs
Great example, thank you a lot!
Thanks dude awesome explanation
THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
thank you very much
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) ?
Very well explained
Simple and lucid
SUPER ! this is it ! THX
Awesome explanation! Thanks
This is indeed Cool stuff from DotNetSkool !
Nice video, thanks for sharing! In binding "Mode", it shows a 5th type i.e. 'Default'. What it is?
Good video. Well explained. Thank you
Thanks a lot
Thank you, very good video.
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.
If you remove the MyText.Text = MySlider.Value.ToString(), the OneTime binding should work.
best in town
thanks
any chance of some source code?
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.
Mah man. Thank you
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'?
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....
Thank you Sir!
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
good one
Which type of car is tooting at 11:50 ? :D
That means you watched my video.. 🤣
Car hornes are routine in my part of world..
tks you so much
영상잘봤습니다
I wish these were #'ed ;)