avalonia-dotnet-templates icon indicating copy to clipboard operation
avalonia-dotnet-templates copied to clipboard

Update the MVVM Template to contain one Binding

Open timunie opened this issue 2 years ago • 1 comments

Oh, wow. I already read about RaiseAndSetIfChanged but it was not visible in my scope. So I thought it was some old technique because the example here looks way more complicated: https://www.reactiveui.net/docs/handbook/data-binding/avalonia

I did not expect it to be just an extension method. This is why I hate extension methods 😑 Maybe the visual studio template should include such basic binding as an example. There current example only has a one way binding.

Originally posted by @ckorn in https://github.com/AvaloniaUI/Avalonia/discussions/8116#discussioncomment-2732753

timunie avatar May 16 '22 12:05 timunie

Also https://github.com/AvaloniaUI/AvaloniaVS can be updated as well (can't duplicate issue while transferring)

maxkatz6 avatar May 24 '22 07:05 maxkatz6