When I bind the ViewModel property to the dependency property of the custom UserControl, the UI interface is not updated after the data is updated. Do you know why?
Thanks, this helped, I had everything right on my own except this one part: ElementName= when binding the property to the user control's XAML. I'm curious what the other methods were you mentioned.
Actually you can, by using XAML. It's called control.template. So, e.g. create a radiobutton-style, create a control.template tag and throw in a togglebutton for instance. Voila.
Full Source Code: github.com/Tosker/ContactBook-Tutorial
Great tutorial with a very practical example. Great job. Thank you.
3:19 - Says "But" and types "
When I bind the ViewModel property to the dependency property of the custom UserControl, the UI interface is not updated after the data is updated. Do you know why?
Thanks, this helped, I had everything right on my own except this one part: ElementName= when binding the property to the user control's XAML. I'm curious what the other methods were you mentioned.
Saved me loads of time! Cheers!
this is very good and simple
many thanks for your greet tutorial
Great video!!! Really easy to understand.
in description SpoilerControl.cs link follows to same XAML code as SpoilerControl.xaml
Sorry about that. Full source code is available here: github.com/Tosker/ContactBook-Tutorial
This is very helpful. I didn't know about setting the Name property of the UserControl and the using the ElementName to get the property. Great job!!
Q: how to make a style in the main window for the new usercontrol and the style contain the dependency properties of the usercontrol?
Awesome video! Thank you very much.
is it possible to create Custom usercontrol with mvvm where we should not have Dp in code behind rather in viewModel?
Actually you can, by using XAML. It's called control.template. So, e.g. create a radiobutton-style, create a control.template tag and throw in a togglebutton for instance. Voila.
What is the difference between TargetType="Button" and TargetType="{x:Type Button}"?
Virtually no difference!
Oh! Thank you then :^)
excellent video
thanks...much appreciated.
Genius
Hehehe thank you for the warning
Audio?
There is audio, perhaps it is quiet for you? Seems fine for me.
Appreciate your videos, man!! Yes, the audio seems to very quite
Thanks! And sorry to hear that. Perhaps a pair of head phones or checking your settings might help.
Thank you very much for your tutorials. I think you deserve more views than what your'e getting
@@ToskersCorner I had to CRANK the volume way up as well. Good vid.
in description SpoilerControl.cs link follows to same XAML code as SpoilerControl.xaml
Sorry about that. Full source code is available here: github.com/Tosker/ContactBook-Tutorial