Is there any way to get previous page url in silverlight navigation application -


is there way previous page url in silverlight navigation application. using navigation service.

there no way navigation history, can store listening navigation service event navigationservice.navigated (or frame.navigated frame navigation).

private list<uri> _navigationhistory = new list<uri>();  void  onnavigated(object sender, navigationeventargs e) {     _navigationhistory.add(e.uri); }  private uri getbackuri() {         return _navigationhistory.count > 1             ? _navigationhistory[_navigationhistory.count - 2]             : null; } 

Comments