{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/pulls/comments/85633808","pull_request_review_id":6341894,"id":85633808,"diff_hunk":"@@ -0,0 +1,85 @@\n+﻿<ResourceDictionary\n+    xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\" \n+    xmlns:x=\"http://schemas.microsoft.com/winfx/2006/xaml\"\n+    xmlns:controls=\"using:Microsoft.Toolkit.Uwp.UI.Controls\">\n+\n+    <Style TargetType=\"controls:MasterDetailsView\" >\n+        <Setter Property=\"Background\" Value=\"{ThemeResource ApplicationPageBackgroundThemeBrush}\"/>\n+        <Setter Property=\"BorderBrush\" Value=\"{ThemeResource ApplicationForegroundThemeBrush}\"/>\n+        <Setter Property=\"BorderThickness\" Value=\"0\"/>\n+        <Setter Property=\"Template\">\n+            <Setter.Value>\n+                <ControlTemplate TargetType=\"controls:MasterDetailsView\">\n+                    <Border Background=\"{TemplateBinding Background}\"\n+                            BorderBrush=\"{TemplateBinding BorderBrush}\"\n+                            BorderThickness=\"{TemplateBinding BorderThickness}\">\n+                        <VisualStateManager.VisualStateGroups>\n+                            <VisualStateGroup x:Name=\"SelectionStates\">\n+                                <VisualState x:Name=\"NoSelectionWide\"/>\n+                                <VisualState x:Name=\"HasSelection\">\n+                                    <VisualState.Setters>\n+                                        <Setter Target=\"NoSelectionPresenter.Visibility\" Value=\"Collapsed\"/>\n+                                    </VisualState.Setters>\n+                                </VisualState>\n+                                <VisualState x:Name=\"NoSelectionNarrow\">\n+                                    <VisualState.Setters>\n+                                        <Setter Target=\"NoSelectionPresenter.Visibility\" Value=\"Collapsed\"/>\n+                                    </VisualState.Setters>\n+                                </VisualState>\n+                            </VisualStateGroup>\n+                            <VisualStateGroup x:Name=\"WidthStates\">\n+                                <VisualState x:Name=\"NarrowState\">\n+                                    <VisualState.StateTriggers>\n+                                        <AdaptiveTrigger MinWindowWidth=\"320\" />\n+                                    </VisualState.StateTriggers>\n+                                    <VisualState.Setters>\n+                                        <Setter Target=\"MasterColumn.Width\" Value=\"*\" />\n+                                        <Setter Target=\"DetailsColumn.Width\" Value=\"0\" />\n+                                        <Setter Target=\"DetailsPanel.(Grid.Column)\" Value=\"0\" />\n+                                        <Setter Target=\"NoSelectionPresenter.Visibility\" Value=\"Collapsed\"/>\n+                                        <Setter Target=\"MasterPanel.BorderThickness\" Value=\"0\"/>\n+                                        <Setter Target=\"MasterPanel.Width\" Value=\"NaN\"/>\n+                                    </VisualState.Setters>\n+                                </VisualState>\n+                                <VisualState x:Name=\"WideState\">\n+                                    <VisualState.StateTriggers>\n+                                        <AdaptiveTrigger MinWindowWidth=\"720\" />","path":"Microsoft.Toolkit.Uwp.UI.Controls/MasterDetailsView/MasterDetailsView.xaml","position":46,"original_position":46,"commit_id":"e73f598304d11851d4c39d5aeed49266af70a02d","original_commit_id":"e73f598304d11851d4c39d5aeed49266af70a02d","user":{"login":"skendrot","id":1594689,"avatar_url":"https://avatars.githubusercontent.com/u/1594689?v=3","gravatar_id":"","url":"https://api.github.com/users/skendrot","html_url":"https://github.com/skendrot","followers_url":"https://api.github.com/users/skendrot/followers","following_url":"https://api.github.com/users/skendrot/following{/other_user}","gists_url":"https://api.github.com/users/skendrot/gists{/gist_id}","starred_url":"https://api.github.com/users/skendrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skendrot/subscriptions","organizations_url":"https://api.github.com/users/skendrot/orgs","repos_url":"https://api.github.com/users/skendrot/repos","events_url":"https://api.github.com/users/skendrot/events{/privacy}","received_events_url":"https://api.github.com/users/skendrot/received_events","type":"User","site_admin":false},"body":"What's the status on this?","created_at":"2016-10-29T04:37:01Z","updated_at":"2016-10-29T04:37:01Z","html_url":"https://github.com/Microsoft/UWPCommunityToolkit/pull/483#discussion_r85633808","pull_request_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/pulls/483","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/pulls/comments/85633808"},"html":{"href":"https://github.com/Microsoft/UWPCommunityToolkit/pull/483#discussion_r85633808"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/pulls/483"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/pulls/483","id":89560236,"html_url":"https://github.com/Microsoft/UWPCommunityToolkit/pull/483","diff_url":"https://github.com/Microsoft/UWPCommunityToolkit/pull/483.diff","patch_url":"https://github.com/Microsoft/UWPCommunityToolkit/pull/483.patch","issue_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/issues/483","number":483,"state":"open","locked":false,"title":"New MasterDetailsView control to follow the Master/Details pattern","user":{"login":"skendrot","id":1594689,"avatar_url":"https://avatars.githubusercontent.com/u/1594689?v=3","gravatar_id":"","url":"https://api.github.com/users/skendrot","html_url":"https://github.com/skendrot","followers_url":"https://api.github.com/users/skendrot/followers","following_url":"https://api.github.com/users/skendrot/following{/other_user}","gists_url":"https://api.github.com/users/skendrot/gists{/gist_id}","starred_url":"https://api.github.com/users/skendrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skendrot/subscriptions","organizations_url":"https://api.github.com/users/skendrot/orgs","repos_url":"https://api.github.com/users/skendrot/repos","events_url":"https://api.github.com/users/skendrot/events{/privacy}","received_events_url":"https://api.github.com/users/skendrot/received_events","type":"User","site_admin":false},"body":"Addresses issue #452. Allows for the user to follow the [Master/Details design pattern](https://msdn.microsoft.com/en-gb/windows/uwp/controls-and-patterns/master-details). Solves the problem of the user having to setup navigation to a details page if on a small device. \r\nUsing the control is simple. User sets the ItemsSource, ItemTemplate, and DetailsTemplate\r\n```\r\n<controls:MasterDetailsView ItemsSource=\"{Binding Items}\"\r\n                            ItemTemplate=\"{StaticResource ListItemTemplate}\"\r\n                            DetailsTemplate=\"{StaticResource DetailsTemplate}\"/>\r\n```\r\n\r\n- Allows for binding the SelectedItem to a viewmodel.\r\n- Automatic animations for details when an item is selected","created_at":"2016-10-17T04:46:35Z","updated_at":"2016-10-29T04:37:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f3b1c17fc1aab9fe1c7e9d84c4bb6df07538ace0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/pulls/483/commits","review_comments_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/pulls/483/comments","review_comment_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/issues/483/comments","statuses_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/statuses/e73f598304d11851d4c39d5aeed49266af70a02d","head":{"label":"skendrot:MasterDetailsView","ref":"MasterDetailsView","sha":"e73f598304d11851d4c39d5aeed49266af70a02d","user":{"login":"skendrot","id":1594689,"avatar_url":"https://avatars.githubusercontent.com/u/1594689?v=3","gravatar_id":"","url":"https://api.github.com/users/skendrot","html_url":"https://github.com/skendrot","followers_url":"https://api.github.com/users/skendrot/followers","following_url":"https://api.github.com/users/skendrot/following{/other_user}","gists_url":"https://api.github.com/users/skendrot/gists{/gist_id}","starred_url":"https://api.github.com/users/skendrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skendrot/subscriptions","organizations_url":"https://api.github.com/users/skendrot/orgs","repos_url":"https://api.github.com/users/skendrot/repos","events_url":"https://api.github.com/users/skendrot/events{/privacy}","received_events_url":"https://api.github.com/users/skendrot/received_events","type":"User","site_admin":false},"repo":{"id":70832006,"name":"UWPCommunityToolkit","full_name":"skendrot/UWPCommunityToolkit","owner":{"login":"skendrot","id":1594689,"avatar_url":"https://avatars.githubusercontent.com/u/1594689?v=3","gravatar_id":"","url":"https://api.github.com/users/skendrot","html_url":"https://github.com/skendrot","followers_url":"https://api.github.com/users/skendrot/followers","following_url":"https://api.github.com/users/skendrot/following{/other_user}","gists_url":"https://api.github.com/users/skendrot/gists{/gist_id}","starred_url":"https://api.github.com/users/skendrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skendrot/subscriptions","organizations_url":"https://api.github.com/users/skendrot/orgs","repos_url":"https://api.github.com/users/skendrot/repos","events_url":"https://api.github.com/users/skendrot/events{/privacy}","received_events_url":"https://api.github.com/users/skendrot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/skendrot/UWPCommunityToolkit","description":"The UWP Community Toolkit is a collection of helper functions, custom controls, and app services. It simplifies and demonstrates common developer tasks building UWP apps for Windows 10. The toolkit is part of the .NET Foundation.","fork":true,"url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit","forks_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/forks","keys_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/teams","hooks_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/hooks","issue_events_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/issues/events{/number}","events_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/events","assignees_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/assignees{/user}","branches_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/branches{/branch}","tags_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/tags","blobs_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/statuses/{sha}","languages_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/languages","stargazers_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/stargazers","contributors_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/contributors","subscribers_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/subscribers","subscription_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/subscription","commits_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/contents/{+path}","compare_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/merges","archive_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/downloads","issues_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/issues{/number}","pulls_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/pulls{/number}","milestones_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/milestones{/number}","notifications_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/labels{/name}","releases_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/releases{/id}","deployments_url":"https://api.github.com/repos/skendrot/UWPCommunityToolkit/deployments","created_at":"2016-10-13T17:39:13Z","updated_at":"2016-10-13T17:39:16Z","pushed_at":"2016-10-29T04:18:12Z","git_url":"git://github.com/skendrot/UWPCommunityToolkit.git","ssh_url":"git@github.com:skendrot/UWPCommunityToolkit.git","clone_url":"https://github.com/skendrot/UWPCommunityToolkit.git","svn_url":"https://github.com/skendrot/UWPCommunityToolkit","homepage":"http://docs.uwpcommunitytoolkit.com","size":190064,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"Microsoft:dev","ref":"dev","sha":"7a18b35247265f6976ba9f2fc7c1978ecc0bdc78","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":61403402,"name":"UWPCommunityToolkit","full_name":"Microsoft/UWPCommunityToolkit","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/UWPCommunityToolkit","description":"The UWP Community Toolkit is a collection of helper functions, custom controls, and app services. It simplifies and demonstrates common developer tasks building UWP apps for Windows 10. The toolkit is part of the .NET Foundation.","fork":false,"url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit","forks_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/forks","keys_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/teams","hooks_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/events","assignees_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/tags","blobs_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/languages","stargazers_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/subscription","commits_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/merges","archive_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/downloads","issues_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/deployments","created_at":"2016-06-17T21:29:46Z","updated_at":"2016-10-28T20:32:23Z","pushed_at":"2016-10-29T04:18:13Z","git_url":"git://github.com/Microsoft/UWPCommunityToolkit.git","ssh_url":"git@github.com:Microsoft/UWPCommunityToolkit.git","clone_url":"https://github.com/Microsoft/UWPCommunityToolkit.git","svn_url":"https://github.com/Microsoft/UWPCommunityToolkit","homepage":"http://docs.uwpcommunitytoolkit.com","size":194155,"stargazers_count":804,"watchers_count":804,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":195,"mirror_url":null,"open_issues_count":56,"forks":195,"open_issues":56,"watchers":804,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/pulls/483"},"html":{"href":"https://github.com/Microsoft/UWPCommunityToolkit/pull/483"},"issue":{"href":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/issues/483"},"comments":{"href":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/issues/483/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/pulls/483/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/pulls/483/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/statuses/e73f598304d11851d4c39d5aeed49266af70a02d"}}}}
{"actor":{"display_login":"skendrot"}}