uno.extensions icon indicating copy to clipboard operation
uno.extensions copied to clipboard

[MVUX] Generate BindBack methods in BindableProxy

Open ADD-David-Antolin opened this issue 1 year ago • 0 comments

What would you like to be added:

Generate "BindBack" methods in Bindable Proxy for each IState property found in the model.

Why is this needed:

Using x:Bind with two way bindings requires such methods.

Anything else we need to know?

Tested using SimpleCalculator workshop. Created a property BindableMainModel ViewModel in MainPage.xaml and changed all the bindings with the x:Bind counterpart. One way bindings work, two way bindings (the light/dark toggle switch) do not compile since it does not have a suitable bind back method.

ADD-David-Antolin avatar Dec 16 '23 17:12 ADD-David-Antolin