using Microsoft.Practices.Prism.ViewModel;
//实现属性的界面更新
this.RaisePropertyChanged(nameof(Count));
using Microsoft.Practices.Prism.Commands;
//声明命令属性
public DelegateCommand SelectCMD{get;set;}
//命令处理方法
private void IsCheckedExcute()
{..... }
//指定委托方法,在构造函数中
this.SelectCMD=new DelegateCommand(new Action(IsCheckedExcute));