I have a folder named Views
and inside it I have pages I want to navigate to. There is a page inside this folder named "Y.XAML" so I'm trying to use:
NavigationService.Navigate(new Uri("Viev//Y.xaml", UriKind.Relative));
Why is this not working?
尝试这个。
NavigationService.Navigate(new Uri("/Views/YourPage.xaml", UriKind.Relative));
Other then that it should work. If not, provide more Information
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.