How to Access MainWindow from Another Page? #1118
-
I need to call a method (that exist in MainWindow) from another page , in wpf or uwp i can do this by
and:
but this method not working in winui 3.0 |
Beta Was this translation helpful? Give feedback.
Answered by
JaiganeshKumaran
Jul 26, 2021
Replies: 1 comment 3 replies
-
You can get the current window and cast it to MainWindow. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
ghost1372
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can get the current window and cast it to MainWindow.