Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ユーザーによっていくつかの変更が加えられた後、DelegateCommand から canExecute 機能を再トリガーしたいと考えています。どうすればいいですか?
CanExecuteメソッドの呼び出しを再トリガーするには、インターフェイスICommandのイベントCanExecuteChangedを発生させる必要があります。
イベントを発生させるDelegateCommandにパブリックメソッド「RaiseCanExecuteChanged」を作成します。