What replaces CommandManager in WinRT?

前端 未结 2 1089
眼角桃花
眼角桃花 2021-02-05 07:17

I\'m getting started with Metro style applications (I know we\'re not supposed to call it Metro, but I can never remember what it\'s supposed to be called...), and I\'m implemen

2条回答
  •  感情败类
    2021-02-05 08:03

    With WPF it is mandatory that you implement ICommand.CanExecuteChanged as you have described. However, for Silverlight, this is not the case. See this related question:

    WPF CommandParameter binding not updating

    My guess is that in WinRT, as in Silverlight, the CommandManager is not necessary.

    See the related discussion here:

    http://social.msdn.microsoft.com/Forums/en-US/netfxbcl/thread/477cdd19-ee88-4746-97fe-59b8dbd44e0a/

提交回复
热议问题