Multi-window Windows application - How do I find out which window i am currently on? #14547
Unanswered
lvendramini
asked this question in
Q&A
Replies: 1 comment 1 reply
-
//Get default windows App.Current.CloseWindow(window); |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to see which window of a multi-window application i am on. Microsoft documentation
https://learn.microsoft.com/en-us/dotnet/maui/fundamentals/windows?view=net-maui-7.0#multi-window-support
gives the example
// Close a specific window
Application.Current.CloseWindow(secondWindow);
// Close the active window
Application.Current.CloseWindow(GetParentWindow());
But i can't get GetParentWindow() to work. Is there a way to see which window the user is interacting with?
Beta Was this translation helpful? Give feedback.
All reactions