protected override void OnFragmentNavigation(System.Windows.Navigation.FragmentNavigationEventArgs e) { base.OnFragmentNavigation(e); if (NavigationEventRecordList.GetShouldRecord(this.NavigationService.Host)) { NavigationEventRecordList.EventRecords.Add(new NavigationEventRecord(this.GetType(), "OnFragmentNavigation", new Uri("#" + e.Fragment, UriKind.Relative))); } }
protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e) { base.OnNavigatedTo(e); if (NavigationEventRecordList.GetShouldRecord(this.NavigationService.Host)) { NavigationEventRecordList.EventRecords.Add(new NavigationEventRecord(this.GetType(), "OnNavigatedTo", e.Uri)); } }