Preventing a ToolWindow from closing #415
Answered
by
jamesc-skyward
jamesc-skyward
asked this question in
Q&A
-
I'm in the process of converting a WinForms extension to WPF using a ToolWindow. If the user attempts to close the window before finishing what they're doing, I'd like to provide a warning and give the user the option to prevent closing the window. How can I do that? |
Beta Was this translation helpful? Give feedback.
Answered by
jamesc-skyward
Feb 14, 2023
Replies: 1 comment
-
I created #417 to allow me to prevent the ToolWindow from closing. I'm not sure if there's a different solution, but this works for me. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jamesc-skyward
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I created #417 to allow me to prevent the ToolWindow from closing. I'm not sure if there's a different solution, but this works for me.