标签:
protected override void OnActivated()
{
base.OnActivated();
if (View.Id == "Commit_Comment_DetailView" || View.Id == "Approve_Comment_DetailView" || View.Id == "Return_Comment_DetailView")
{
ModificationsController controller = Frame.GetController<ModificationsController>();
controller.ModificationsHandlingMode = ModificationsHandlingMode.AutoRollback;
}
}
标签:
原文地址:http://www.cnblogs.com/yt954437595/p/5334238.html