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
when doing TwoWay x:Bind to a struct, the code that xaml compiler generates assumes it is bound to a runtimeclass, so it uses the setter method, resulting in code like foo.MyProperty(value). For structs, it should write foo.MyProperty = value.
The getter seems correct, however, so this is an oversight.
Describe the bug
when doing TwoWay x:Bind to a struct, the code that xaml compiler generates assumes it is bound to a runtimeclass, so it uses the setter method, resulting in code like
foo.MyProperty(value)
. For structs, it should writefoo.MyProperty = value
.The getter seems correct, however, so this is an oversight.
Somewhat related to #517
Steps to reproduce the bug
Expected behavior
No response
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.5 Experimental 1: 1.5.231202003-experimental1
Windows version
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: