Skip to content

Close currently opend dialog from anywhere. #350

Answered by canton7
derech1e asked this question in Q&A
Discussion options

You must be logged in to vote

You need some way of telling the dialog you want it to close. You could keep a reference to it, or send it a message through the Event Aggregator, or store the instance somewhere (e.g. make a service which manages that dialog, and register it as a singleton with the ioc container).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by derech1e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants