Data Binding Modes in WPF

preview_player
Показать описание
WPF is not complete untill you learn about data bindings. This lecture is first step towards it. Like this video if you are benefitted from it. This is a very basic data binding example which explains you about different binding modes.
Рекомендации по теме
Комментарии
Автор

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

sonid
Автор

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

rjohnny
Автор

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!!

diweshkr
Автор

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:

<Slider Name="myslider" Minimum="0" Maximum="100" Value="50"/>
<TextBox Name="mytxt" Margin="250 40 250 350" Text="{Binding ElementName=myslider, Path=Value, Mode=OneTime,

so you have to specify the value attribute in the xaml file instead of assigning values in constructor.

kuldeepkr
Автор

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

TheConwant
Автор

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

shakyadas
Автор

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.

rahulchetwani
Автор

The best tutorial to understand Binding.

fouadchelfi
Автор

I think you found the perfect example to show bindings.

Trzbne
Автор

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

RajKumar-rqvt
Автор

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

Asisvenia
Автор

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.

elangovanever
Автор

best tutorial for important WPF concepts

padmajavudatha
Автор

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

aparnabhattacharya
Автор

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.

Bsp
Автор

Excellent, you have a thing for teaching :)

barthessing
Автор

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.

mannkumar
Автор

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

navink
Автор

best in town
thanks
any chance of some source code?

edrobinson
Автор

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) ?

gauravgupta