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
public MainWindow(){
InitializeComponent();VisibilityChanged+=(sender,e)=>{ Debugger.Break();};}privatevoidButton_Click(objectsender,RoutedEventArgse){this.Hide();}
Expected behavior
After click the button, hit the breakpoint.
Screenshots
The debugger only breaks at the activation. Click the button will not pause the debugger.
NuGet package version
WinUI 3 - Windows App SDK 1.5.3: 1.5.240428000
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Call
Window.Hide()
does not raiseVisibilityChanged
event.Steps to reproduce the bug
Expected behavior
After click the button, hit the breakpoint.
Screenshots
The debugger only breaks at the activation. Click the button will not pause the debugger.
NuGet package version
WinUI 3 - Windows App SDK 1.5.3: 1.5.240428000
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response
The text was updated successfully, but these errors were encountered: