Monday, 15 June 2015

c# - Can't use this.NavigationService -



c# - Can't use this.NavigationService -

in documentation of navigationservice.navigate method (uri) code snippet:

void gobutton_click(object sender, routedeventargs e) { this.navigationservice.navigate(new uri(this.addresstextbox.text)); }

but this.navigationservice not available in window class want phone call it. want switch pages using mvvm-light toolkit , tutorials utilize method, can't. why?

you need utilize navigationwindow utilize navigationservice

c# .net wpf mvvm mvvm-light

No comments:

Post a Comment