{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/WindowsTemplateStudio/issues/2711","repository_url":"https://api.github.com/repos/Microsoft/WindowsTemplateStudio","labels_url":"https://api.github.com/repos/Microsoft/WindowsTemplateStudio/issues/2711/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/WindowsTemplateStudio/issues/2711/comments","events_url":"https://api.github.com/repos/Microsoft/WindowsTemplateStudio/issues/2711/events","html_url":"https://github.com/Microsoft/WindowsTemplateStudio/issues/2711","id":373082562,"node_id":"MDU6SXNzdWUzNzMwODI1NjI=","number":2711,"title":"NavigationViewHeaderBehaviour does not work correctly when setting HeaderContext to Page","user":{"login":"sibille","id":24698018,"node_id":"MDQ6VXNlcjI0Njk4MDE4","avatar_url":"https://avatars0.githubusercontent.com/u/24698018?v=4","gravatar_id":"","url":"https://api.github.com/users/sibille","html_url":"https://github.com/sibille","followers_url":"https://api.github.com/users/sibille/followers","following_url":"https://api.github.com/users/sibille/following{/other_user}","gists_url":"https://api.github.com/users/sibille/gists{/gist_id}","starred_url":"https://api.github.com/users/sibille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sibille/subscriptions","organizations_url":"https://api.github.com/users/sibille/orgs","repos_url":"https://api.github.com/users/sibille/repos","events_url":"https://api.github.com/users/sibille/events{/privacy}","received_events_url":"https://api.github.com/users/sibille/received_events","type":"User","site_admin":false},"labels":[{"id":504921179,"node_id":"MDU6TGFiZWw1MDQ5MjExNzk=","url":"https://api.github.com/repos/Microsoft/WindowsTemplateStudio/labels/bug","name":"bug","color":"ee0701","default":true},{"id":604055240,"node_id":"MDU6TGFiZWw2MDQwNTUyNDA=","url":"https://api.github.com/repos/Microsoft/WindowsTemplateStudio/labels/external-issue","name":"external-issue","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Microsoft/WindowsTemplateStudio/milestones/16","html_url":"https://github.com/Microsoft/WindowsTemplateStudio/milestone/16","labels_url":"https://api.github.com/repos/Microsoft/WindowsTemplateStudio/milestones/16/labels","id":3031863,"node_id":"MDk6TWlsZXN0b25lMzAzMTg2Mw==","number":16,"title":"2.5","description":"","creator":{"login":"mrlacey","id":189547,"node_id":"MDQ6VXNlcjE4OTU0Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/189547?v=4","gravatar_id":"","url":"https://api.github.com/users/mrlacey","html_url":"https://github.com/mrlacey","followers_url":"https://api.github.com/users/mrlacey/followers","following_url":"https://api.github.com/users/mrlacey/following{/other_user}","gists_url":"https://api.github.com/users/mrlacey/gists{/gist_id}","starred_url":"https://api.github.com/users/mrlacey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrlacey/subscriptions","organizations_url":"https://api.github.com/users/mrlacey/orgs","repos_url":"https://api.github.com/users/mrlacey/repos","events_url":"https://api.github.com/users/mrlacey/events{/privacy}","received_events_url":"https://api.github.com/users/mrlacey/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":30,"state":"open","created_at":"2018-01-12T17:00:09Z","updated_at":"2018-11-14T13:02:25Z","due_on":"2018-11-15T08:00:00Z","closed_at":null},"comments":0,"created_at":"2018-10-23T16:13:17Z","updated_at":"2018-11-14T13:32:34Z","closed_at":null,"author_association":"MEMBER","body":"Raising a separate issue for this (X-Ref:#1229)\r\n\r\nWe're facing an issue in the NavViewHeaderBehaviour with CodeBehind.\r\nX:Bind is not working in the DataTemplate when HeaderContext is set to a Page.\r\n\r\nPossible workarounds would be:\r\n- Bind to a HelperClass\r\n- Not setting HeaderContext and use binding instead of x:bind.\r\n\r\nI've attached a solution where you can see the problem and the workaround:\r\n[App1.zip](https://github.com/Microsoft/WindowsTemplateStudio/files/2506011/App1.zip)\r\n\r\n- App1_XBind_Page: This project shows the problem, binding seems to work fine, but value is not shown.\r\n- App1_XBind_Helper: Solution 1: Bind to a HelperClass\r\n- App1_Binding: Solution 2: Use Binding instead of xBind\r\n- App1_ContentPresenter: This project shows what we suspect is the underlying problem, a `ContentPresenter` with `Content` bound to a page does not resolve bindings in `ContentTemplate `correctly, a ContentPresenter with content bound to another class does.\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/WindowsTemplateStudio/issues/comments/438662671","html_url":"https://github.com/Microsoft/WindowsTemplateStudio/issues/2711#issuecomment-438662671","issue_url":"https://api.github.com/repos/Microsoft/WindowsTemplateStudio/issues/2711","id":438662671,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODY2MjY3MQ==","user":{"login":"sibille","id":24698018,"node_id":"MDQ6VXNlcjI0Njk4MDE4","avatar_url":"https://avatars0.githubusercontent.com/u/24698018?v=4","gravatar_id":"","url":"https://api.github.com/users/sibille","html_url":"https://github.com/sibille","followers_url":"https://api.github.com/users/sibille/followers","following_url":"https://api.github.com/users/sibille/following{/other_user}","gists_url":"https://api.github.com/users/sibille/gists{/gist_id}","starred_url":"https://api.github.com/users/sibille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sibille/subscriptions","organizations_url":"https://api.github.com/users/sibille/orgs","repos_url":"https://api.github.com/users/sibille/repos","events_url":"https://api.github.com/users/sibille/events{/privacy}","received_events_url":"https://api.github.com/users/sibille/received_events","type":"User","site_admin":false},"created_at":"2018-11-14T13:32:34Z","updated_at":"2018-11-14T13:32:34Z","author_association":"MEMBER","body":"Moving to 3.0 to revisit once problem is solved on the control"}}
{"actor":{"display_login":"sibille"}}