How to get dialoghost Result #3248
-
hi,can dialoghost.show(view) retrun result like window.showdialog() ? |
Beta Was this translation helpful? Give feedback.
Answered by
Keboo
Jun 28, 2023
Replies: 1 comment
-
To get back a result you need to make sure that the dialog sets a result when it is closed. There are various ways of doing this, but I find the simplest to use a CommandParameter with the relay commands. You can see an example of doing that here. You can also see several other DialogHost examples here |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
MichelMichels
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To get back a result you need to make sure that the dialog sets a result when it is closed. There are various ways of doing this, but I find the simplest to use a CommandParameter with the relay commands. You can see an example of doing that here.
You can also see several other DialogHost examples here