Dialog的关闭方式
#564
-
Dialog.ShowModal打开对话框可以用代码关闭吗,还是说一定要通过面板上的按钮关闭 |
Beta Was this translation helpful? Give feedback.
Answered by
rabbitism
Feb 6, 2025
Replies: 2 comments
-
需要让Dialog的ViewModel实现IDialogContext接口,然后就可以invoke RequestClose事件来关闭了 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rabbitism
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
需要让Dialog的ViewModel实现IDialogContext接口,然后就可以invoke RequestClose事件来关闭了