禁用弹出提示框

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();
controller.ModificationsHandlingMode = ModificationsHandlingMode.AutoRollback;
}
}

你可能感兴趣的:(禁用弹出提示框)