You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MVUX bindable view model properties are source-generated, so they aren't visible to the Uno source generator that compiles two-way XAML x:Bind code, similar to how MVVM toolkit generated observable properties were not visible until a workaround for that was implemented.
Where Model is a bindable MVUX view model, you get:
error UXAML0001: Unable to find member [Name] on type [MainViewModel]
Expected behavior
MVUX bindable model properties should be inferred from their model for the XAML source generator, similar how MVVM toolkit generated observable properties are inferred from their fields to allow for two-way x:Bind.
How to reproduce it (as minimally and precisely as possible)
Current behavior
MVUX bindable view model properties are source-generated, so they aren't visible to the Uno source generator that compiles two-way XAML x:Bind code, similar to how MVVM toolkit generated observable properties were not visible until a workaround for that was implemented.
As soon as you go from:
To
Where
Model
is a bindable MVUX view model, you get:Expected behavior
MVUX bindable model properties should be inferred from their model for the XAML source generator, similar how MVVM toolkit generated observable properties are inferred from their fields to allow for two-way x:Bind.
How to reproduce it (as minimally and precisely as possible)
No response
Workaround
Use Binding instead of x:Bind
Works on UWP/WinUI
None
Environment
Uno.WinUI / Uno.WinUI.WebAssembly / Uno.WinUI.Skia
NuGet package version(s)
5.4.10, 5.5.
Affected platforms
No response
IDE
No response
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: