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;
}
}
时间: 2024-10-20 06:03:59