Quantcast
Channel: patterns & practices: Prism
Viewing all articles
Browse latest Browse all 1878

New Post: IsnavigationTarget returns True but does not activate Tab Item

$
0
0

Hi, 

Problem: I open a new tab on some button click. It opens first time. but if I click that button again, I expect already open tab to be activated. but it doesn't happen.

publicbool IsNavigationTarget(NavigationContext navigationContext)
        {// For now we always open a new tab.return navigationContext.NavigationService.Journal.CurrentEntry.Uri.ToString().ToLowerInvariant() == navigationContext.Uri.ToString().ToLowerInvariant();
        }

above code returns true. Not sure what am I missing. can someone please shed some light?

 


Viewing all articles
Browse latest Browse all 1878

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>