如何取消激活将ViewModel注入ContentControl

时间:2013-04-20 13:07:14

标签: caliburn.micro

如何取消激活将ViewModel注入ContentControl

[Import]
public IMyViewModel MyViewModel { get; set; }

public void ClickButton
{
   //This Method Not Deactive MyViewModel
   MyViewModel.Deactivate(true);
}

<ContentControl x:Name="MyViewModel" />

0 个答案:

没有答案