finally after a week trying to figure this out, I made it work on my Project, this aproche only Works when you bind your VwModel trough the code behind in your view and I had all mi VwModels Binded through the XAML. so the event handler could never find the subscriber in the code behind, and dont remember if you mention that in your video, learnd the hard way. Love your Channel!!!!!! hope to see new content soon on MVVM, haven had time to see your Enterprise development series wich im sure ill learn a ton.
The awesome thing is I was able to get this to work with 2022 Dot net Maui MVVM with only a few changes. Funny how five years later its still relevent.
Hi thanks for the demo however appears to me there is a lot of code behind going on I believe in my humble opinion, a much more neater and cleaner approach would be using attached property which is testable without ANY GUI intervention, like the one that has been demonstrated here! Cheers
Big thanks! I am happy to see that channel is active again!
I am getting the feel for MVVM from you. Much appreciated.
Very happy that new stuff is coming. Keep it up!
finally after a week trying to figure this out, I made it work on my Project, this aproche only Works when you bind your VwModel trough the code behind in your view and I had all mi VwModels Binded through the XAML. so the event handler could never find the subscriber in the code behind, and dont remember if you mention that in your video, learnd the hard way. Love your Channel!!!!!! hope to see new content soon on MVVM, haven had time to see your Enterprise development series wich im sure ill learn a ton.
Viewmodel injection rather xaml is the way to go. You can even make the viewmodel a dependency property.
work perfectly! much better than official solution lol.
Great stuff!
fantastic
many thanks for your big effort
Thanks for video !!!!
The awesome thing is I was able to get this to work with 2022 Dot net Maui MVVM with only a few changes. Funny how five years later its still relevent.
Hi thanks for the demo however appears to me there is a lot of code behind going on I believe in my humble opinion, a much more neater and cleaner approach would be using attached property which is testable without ANY GUI intervention, like the one that has been demonstrated here! Cheers
hey Thanks You saved my day :-)
I'm getting System NullRefeernceException: 'Object reference not set to an instance of an object.'
for focus.FocusRequested += OnFocusResquested;