我是Xamarin和mvvmcross的新手,我正在尝试将UISegmentedControl的ValueChanged事件绑定到ViewModel中的命令。(_donorCommand = new MvxCommand<string>(m => DonorIndividual.SetVisibleexpression' to non-delegate type 'string' (CS1660)
我有一个包含可观察到的MyViewModel集合的MyCollectionViewModel。我将这个绑定到一个视图MyCollectionView,并选择一个项目,绑定回MyCollectionViewModel中一个名为OpenMyViewCommand的命令。到目前为止一切顺利: public ICommand OpenMyViewCommandnew