エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Handling the window closing event with WPF / MVVM Light Toolkit
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Handling the window closing event with WPF / MVVM Light Toolkit
I'd like to handle the Closing event (when a user clicks the upper right 'X' button) of my window... I'd like to handle the Closing event (when a user clicks the upper right 'X' button) of my window in order to eventually display a confirm message or/and cancel the closing. I know how to do this in the code-behind: subscribe to the Closing event of the window then use the CancelEventArgs.Cancel property. But I'm using MVVM so I'm not sure it's the good approach. I think the good approach would be