Is there a way to detect if a ContentDialog
is being displayed
#8515
Unanswered
harvinders
asked this question in
Q&A
Replies: 2 comments 2 replies
-
If I do a loop on openedpopups, I get .Child = Microsoft.UI.Xaml.Controls.ContentDialog when a ContentDialog is displayed |
Beta Was this translation helpful? Give feedback.
1 reply
-
You can detect controls that the ContentDialog has but other pop-ups don't, such as Smokelayorbackground. |
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.
-
I found that we can use the following to find out if there are any popups open. However, this API returns popup for
TeachingTip
etc too. Is there a way to find out if the Popup returned is aContentDialog
?Beta Was this translation helpful? Give feedback.
All reactions