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
A WinUI custom control decorated with [ObservableObject] attribute will not update Bindings in the control's template for properties on property changed.
This does work in Visual Studio 2022 v17.10! This does NOT work in Visual Studio 2022 v17.12!
Describe the bug
A WinUI custom control decorated with [ObservableObject] attribute will not update Bindings in the control's template for properties on property changed.
This does work in Visual Studio 2022 v17.10!
This does NOT work in Visual Studio 2022 v17.12!
Roslyn gang directed me here (dotnet/roslyn#76470)
Issue reported in Community Toolkit can reproduce, but closed as external (CommunityToolkit/dotnet#1011)
Steps to reproduce the bug
Sample application found here: Project PropertyBindingTest.sln in repo https://github.com/bjorn-malmo/bug-free-happiness/
Run the application using Visual Studio 2022 v17.10 and click the button:
Run the same application using Visual Studio 2022 v17.12 and click the button:
Expected behavior
The Binding to update as a result of the change notification
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.6.3: 1.6.241114003
Windows version
Windows 11 (23H2): Build 22631
Additional context
No response
The text was updated successfully, but these errors were encountered: