Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
410
Modal XamDialogWindow question
posted

I use XamDialogWindow to implement a modal dialog (IsModal = true). My question is how come the execution flow doesn't pause when the XamDialogWindow is opened and continue only after the XamDialogWindow is closed (like the behavior of Window.ShowDialog). Is there any way to enforce this behavior because it is crucial to modal dialog?

Statement A

Code to launch XamDialogWindow as a modal dialog (execution flow follows the dialog at this point)

Statement B (should NOT be executed until the modal dialog is closed)

Thank you!