Exemplo n.º 1
0
 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)));
     }
 }
Exemplo n.º 2
0
 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));
     }
 }