【发布时间】:2013-12-04 22:59:46
【问题描述】:
是否可以将视图属性绑定到 ICommand.CanExecute?
例如,我希望能够在触摸视图中执行类似的操作:
this
.CreateBinding(SignInWithFacebookButton)
.For(b => b.Enabled)
.To((SignInViewModel vm) => vm.SignInWithFacebookCommand.CanExecute)
.Apply();
我已经阅读了How to use CanExecute with Mvvmcross,但不幸的是它跳过了问题而只是提出了另一种实现方式。
【问题讨论】:
标签: mvvmcross