windows Phone 后退键历史的清除

protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);
            while (NavigationService.CanGoBack)
            {
                NavigationService.RemoveBackEntry();
            }

        }

posted on 2012-08-07 15:44  冰危节奏  阅读(298)  评论(0编辑  收藏  举报

导航