{"action":"created","issue":{"url":"https://api.github.com/repos/Windows-XAML/Template10/issues/658","repository_url":"https://api.github.com/repos/Windows-XAML/Template10","labels_url":"https://api.github.com/repos/Windows-XAML/Template10/issues/658/labels{/name}","comments_url":"https://api.github.com/repos/Windows-XAML/Template10/issues/658/comments","events_url":"https://api.github.com/repos/Windows-XAML/Template10/issues/658/events","html_url":"https://github.com/Windows-XAML/Template10/issues/658","id":133790242,"number":658,"title":"Question: How to work with GridView Click Event?","user":{"login":"MoPe123","id":17177747,"avatar_url":"https://avatars.githubusercontent.com/u/17177747?v=3","gravatar_id":"","url":"https://api.github.com/users/MoPe123","html_url":"https://github.com/MoPe123","followers_url":"https://api.github.com/users/MoPe123/followers","following_url":"https://api.github.com/users/MoPe123/following{/other_user}","gists_url":"https://api.github.com/users/MoPe123/gists{/gist_id}","starred_url":"https://api.github.com/users/MoPe123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoPe123/subscriptions","organizations_url":"https://api.github.com/users/MoPe123/orgs","repos_url":"https://api.github.com/users/MoPe123/repos","events_url":"https://api.github.com/users/MoPe123/events{/privacy}","received_events_url":"https://api.github.com/users/MoPe123/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-15T18:47:21Z","updated_at":"2016-02-15T18:59:09Z","closed_at":null,"body":"Hi all,\r\n\r\ni have got another question and since my last was answered so perfect and helped me a lot, i will try it again. :-)\r\n\r\nI am currently working with a GridView that is populated in a model class via the ViewModel of the MainPage. When a user clicks on a GridView item i want the Frame just to navigate to another page - lets call it DetailPage.\r\nNormally i would just use the click event property of the GridView and then type something like:\r\n`Frame.Navigate(typeof(Views.DetailPage), clickedItem);`\r\n\r\nThis does not work when working with Template10 because i think i Need to use the NavigationService and its navigate()-method. I see that in the MainPageViewModel.cs there is something like:\r\n`public void GotoDetailsPage() =>\r\n            NavigationService.Navigate(typeof(Views.DetailPage), Value);`\r\n\r\nBut when i try to use the NavigationService in my Code-Behind file MainPage.xaml.cs it does not work. Neither am i able to call the method GotoDetailsPage(). How may i get from the Code-Behind file MainPage.xaml.cs to the ViewModel to use the standard GotoDetailsPage()-method? How can i get the Frame to navigate to the DetailPage.xaml when a user clicks on a GridView item? There seems to be no standard way in Template10 for a GridView like for a Button (AppBarButton), which works fine with:\r\n`<AppBarButton Command=\"{Binding GotoDetailsCommand}\" Icon=\"Forward\" Label=\"Next\" />`\r\n\r\nThank you very much in advance! :-)"},"comment":{"url":"https://api.github.com/repos/Windows-XAML/Template10/issues/comments/184346499","html_url":"https://github.com/Windows-XAML/Template10/issues/658#issuecomment-184346499","issue_url":"https://api.github.com/repos/Windows-XAML/Template10/issues/658","id":184346499,"user":{"login":"MoPe123","id":17177747,"avatar_url":"https://avatars.githubusercontent.com/u/17177747?v=3","gravatar_id":"","url":"https://api.github.com/users/MoPe123","html_url":"https://github.com/MoPe123","followers_url":"https://api.github.com/users/MoPe123/followers","following_url":"https://api.github.com/users/MoPe123/following{/other_user}","gists_url":"https://api.github.com/users/MoPe123/gists{/gist_id}","starred_url":"https://api.github.com/users/MoPe123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoPe123/subscriptions","organizations_url":"https://api.github.com/users/MoPe123/orgs","repos_url":"https://api.github.com/users/MoPe123/repos","events_url":"https://api.github.com/users/MoPe123/events{/privacy}","received_events_url":"https://api.github.com/users/MoPe123/received_events","type":"User","site_admin":false},"created_at":"2016-02-15T18:59:09Z","updated_at":"2016-02-15T18:59:09Z","body":"Omg... When i debug the Code and set a breakpoint in the click-event method from the GridView the app never seems to reach this Code... ô.0 dont know why... still searching"}}