Example #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)));
     }
 }
Example #2
0
 protected override void OnFragmentNavigation(System.Windows.Navigation.FragmentNavigationEventArgs e)
 {
     base.OnFragmentNavigation(e);
     if (NavigatablePage == null)
     {
         return;
     }
     NavigatablePage.State = State;
     NavigatablePage.OnFragmentNavigation(NavigationCacheMode, NavigationContext, NavigationService, e);
 }
Example #3
0
        private void Frame_FragmentNavigation(object sender, System.Windows.Navigation.FragmentNavigationEventArgs e)
        {
            results.Clear();

            Bing.SearchRequest sr = new Bing.SearchRequest();
            sr.Query   = e.Fragment + " (site:microsoft.com)";
            sr.AppId   = "1009092976966EFB6DD6B0F0B98FE5E617990903";
            sr.Sources = new SourceType[] { SourceType.Web };
            sr.Web     = new Bing.WebRequest();
            Bing.BingPortTypeClient bing = new BingPortTypeClient();
            bing.SearchCompleted += new EventHandler <SearchCompletedEventArgs>(bing_SearchCompleted);
            bing.SearchAsync(sr);
        }
 protected virtual new void OnFragmentNavigation(System.Windows.Navigation.FragmentNavigationEventArgs e)
 {
 }
Example #5
0
 public virtual void OnFragmentNavigation(System.Windows.Navigation.NavigationCacheMode navigationCacheMode, System.Windows.Navigation.NavigationContext navigationContext, System.Windows.Navigation.NavigationService navigationService, System.Windows.Navigation.FragmentNavigationEventArgs e)
 {
 }
 protected override void OnFragmentNavigation(System.Windows.Navigation.FragmentNavigationEventArgs e)
 {
     VirtualsCalled.Add("OnFragmentNavigation");
 }
Example #7
0
 private void App_FragmentNavigation(object sender, System.Windows.Navigation.FragmentNavigationEventArgs e)
 {
     logger.Log("App_FragmentNavigation");
 }
Example #8
0
 private void Application_FragmentNavigation(object sender, System.Windows.Navigation.FragmentNavigationEventArgs e)
 {
 }
 static void NavigationService_FragmentNavigation(object sender, System.Windows.Navigation.FragmentNavigationEventArgs e)
 {
     AddToLog("Fragment Navigation:" + e.Fragment);
 }