{"action":"created","comment":{"url":"https://api.github.com/repos/Perspex/Perspex/pulls/comments/47854046","id":47854046,"diff_hunk":"@@ -2,42 +2,240 @@\n // Licensed under the MIT license. See licence.md file in the project root for full license information.\n \n using System;\n+\n+using Perspex.Collections;\n using Perspex.Controls.Primitives;\n using Perspex.Input;\n-using Perspex.Rendering;\n using Perspex.VisualTree;\n \n namespace Perspex.Controls\n {\n+    /// <summary>\n+    /// Unlike WPF GridSplitter, Perspex GridSplitter has only one Behavior, GridResizeBehavior.PreviousAndNext\n+    /// </summary>\n     public class GridSplitter : Thumb\n     {\n-        private Grid _grid;\n+        /// <summary>\n+        /// Defines the <see cref=\"Orientation\"/> property.\n+        /// </summary>\n+        public static readonly PerspexProperty<Orientation?> OrientationProperty =\n+            PerspexProperty.Register<GridSplitter, Orientation?>(nameof(Orientation));\n+\n+        protected Grid _grid;\n+\n+        private IGridColumnsResizer _resizer;\n \n         /// <summary>\n-        /// Initializes a new instance of the <see cref=\"GridSplitter\"/> class.\n+        /// Gets or sets the orientation of the GridsSlitter, if null, it's inferred from column/row defenition(should be auto).\n         /// </summary>\n-        public GridSplitter()\n+        public Orientation? Orientation { get { return GetValue(OrientationProperty); } set { SetValue(OrientationProperty, value); } }\n+\n+\n+        static GridSplitter()\n         {\n-            Cursor = new Cursor(StandardCursorType.SizeWestEast);\n+            PseudoClass(OrientationProperty, o => o == Perspex.Controls.Orientation.Vertical, \":vertical\");\n+            PseudoClass(OrientationProperty, o => o == Perspex.Controls.Orientation.Horizontal, \":horizontal\");\n         }\n ","path":"src/Perspex.Controls/GridSplitter.cs","position":43,"original_position":43,"commit_id":"7070ad51ed238a649229c7ef4682a482fda72534","original_commit_id":"7070ad51ed238a649229c7ef4682a482fda72534","user":{"login":"grokys","id":1775141,"avatar_url":"https://avatars.githubusercontent.com/u/1775141?v=3","gravatar_id":"","url":"https://api.github.com/users/grokys","html_url":"https://github.com/grokys","followers_url":"https://api.github.com/users/grokys/followers","following_url":"https://api.github.com/users/grokys/following{/other_user}","gists_url":"https://api.github.com/users/grokys/gists{/gist_id}","starred_url":"https://api.github.com/users/grokys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grokys/subscriptions","organizations_url":"https://api.github.com/users/grokys/orgs","repos_url":"https://api.github.com/users/grokys/repos","events_url":"https://api.github.com/users/grokys/events{/privacy}","received_events_url":"https://api.github.com/users/grokys/received_events","type":"User","site_admin":false},"body":"Can we remove double spaces? I know, I'm picky with spacing ;)","created_at":"2015-12-17T00:19:49Z","updated_at":"2015-12-17T00:19:49Z","html_url":"https://github.com/Perspex/Perspex/pull/362#discussion_r47854046","pull_request_url":"https://api.github.com/repos/Perspex/Perspex/pulls/362","_links":{"self":{"href":"https://api.github.com/repos/Perspex/Perspex/pulls/comments/47854046"},"html":{"href":"https://github.com/Perspex/Perspex/pull/362#discussion_r47854046"},"pull_request":{"href":"https://api.github.com/repos/Perspex/Perspex/pulls/362"}}},"pull_request":{"url":"https://api.github.com/repos/Perspex/Perspex/pulls/362","id":53474670,"html_url":"https://github.com/Perspex/Perspex/pull/362","diff_url":"https://github.com/Perspex/Perspex/pull/362.diff","patch_url":"https://github.com/Perspex/Perspex/pull/362.patch","issue_url":"https://api.github.com/repos/Perspex/Perspex/issues/362","number":362,"state":"open","locked":false,"title":"Gridsplitter","user":{"login":"susloparovdenis","id":5947908,"avatar_url":"https://avatars.githubusercontent.com/u/5947908?v=3","gravatar_id":"","url":"https://api.github.com/users/susloparovdenis","html_url":"https://github.com/susloparovdenis","followers_url":"https://api.github.com/users/susloparovdenis/followers","following_url":"https://api.github.com/users/susloparovdenis/following{/other_user}","gists_url":"https://api.github.com/users/susloparovdenis/gists{/gist_id}","starred_url":"https://api.github.com/users/susloparovdenis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/susloparovdenis/subscriptions","organizations_url":"https://api.github.com/users/susloparovdenis/orgs","repos_url":"https://api.github.com/users/susloparovdenis/repos","events_url":"https://api.github.com/users/susloparovdenis/events{/privacy}","received_events_url":"https://api.github.com/users/susloparovdenis/received_events","type":"User","site_admin":false},"body":"We haven't achieve consensus in gitter. Lets discuss here. \r\nI can make one grid spliter as before, but what shall we do with styling?","created_at":"2015-12-12T11:51:30Z","updated_at":"2015-12-17T00:19:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cd5769c6e8a37a34c27aa8494b6b6dd0d1a2ae4f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Perspex/Perspex/pulls/362/commits","review_comments_url":"https://api.github.com/repos/Perspex/Perspex/pulls/362/comments","review_comment_url":"https://api.github.com/repos/Perspex/Perspex/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Perspex/Perspex/issues/362/comments","statuses_url":"https://api.github.com/repos/Perspex/Perspex/statuses/7070ad51ed238a649229c7ef4682a482fda72534","head":{"label":"susloparovdenis:gridsplitter","ref":"gridsplitter","sha":"7070ad51ed238a649229c7ef4682a482fda72534","user":{"login":"susloparovdenis","id":5947908,"avatar_url":"https://avatars.githubusercontent.com/u/5947908?v=3","gravatar_id":"","url":"https://api.github.com/users/susloparovdenis","html_url":"https://github.com/susloparovdenis","followers_url":"https://api.github.com/users/susloparovdenis/followers","following_url":"https://api.github.com/users/susloparovdenis/following{/other_user}","gists_url":"https://api.github.com/users/susloparovdenis/gists{/gist_id}","starred_url":"https://api.github.com/users/susloparovdenis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/susloparovdenis/subscriptions","organizations_url":"https://api.github.com/users/susloparovdenis/orgs","repos_url":"https://api.github.com/users/susloparovdenis/repos","events_url":"https://api.github.com/users/susloparovdenis/events{/privacy}","received_events_url":"https://api.github.com/users/susloparovdenis/received_events","type":"User","site_admin":false},"repo":{"id":45098026,"name":"Perspex","full_name":"susloparovdenis/Perspex","owner":{"login":"susloparovdenis","id":5947908,"avatar_url":"https://avatars.githubusercontent.com/u/5947908?v=3","gravatar_id":"","url":"https://api.github.com/users/susloparovdenis","html_url":"https://github.com/susloparovdenis","followers_url":"https://api.github.com/users/susloparovdenis/followers","following_url":"https://api.github.com/users/susloparovdenis/following{/other_user}","gists_url":"https://api.github.com/users/susloparovdenis/gists{/gist_id}","starred_url":"https://api.github.com/users/susloparovdenis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/susloparovdenis/subscriptions","organizations_url":"https://api.github.com/users/susloparovdenis/orgs","repos_url":"https://api.github.com/users/susloparovdenis/repos","events_url":"https://api.github.com/users/susloparovdenis/events{/privacy}","received_events_url":"https://api.github.com/users/susloparovdenis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/susloparovdenis/Perspex","description":"A multi-platform .NET UI framework.","fork":true,"url":"https://api.github.com/repos/susloparovdenis/Perspex","forks_url":"https://api.github.com/repos/susloparovdenis/Perspex/forks","keys_url":"https://api.github.com/repos/susloparovdenis/Perspex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/susloparovdenis/Perspex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/susloparovdenis/Perspex/teams","hooks_url":"https://api.github.com/repos/susloparovdenis/Perspex/hooks","issue_events_url":"https://api.github.com/repos/susloparovdenis/Perspex/issues/events{/number}","events_url":"https://api.github.com/repos/susloparovdenis/Perspex/events","assignees_url":"https://api.github.com/repos/susloparovdenis/Perspex/assignees{/user}","branches_url":"https://api.github.com/repos/susloparovdenis/Perspex/branches{/branch}","tags_url":"https://api.github.com/repos/susloparovdenis/Perspex/tags","blobs_url":"https://api.github.com/repos/susloparovdenis/Perspex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/susloparovdenis/Perspex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/susloparovdenis/Perspex/git/refs{/sha}","trees_url":"https://api.github.com/repos/susloparovdenis/Perspex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/susloparovdenis/Perspex/statuses/{sha}","languages_url":"https://api.github.com/repos/susloparovdenis/Perspex/languages","stargazers_url":"https://api.github.com/repos/susloparovdenis/Perspex/stargazers","contributors_url":"https://api.github.com/repos/susloparovdenis/Perspex/contributors","subscribers_url":"https://api.github.com/repos/susloparovdenis/Perspex/subscribers","subscription_url":"https://api.github.com/repos/susloparovdenis/Perspex/subscription","commits_url":"https://api.github.com/repos/susloparovdenis/Perspex/commits{/sha}","git_commits_url":"https://api.github.com/repos/susloparovdenis/Perspex/git/commits{/sha}","comments_url":"https://api.github.com/repos/susloparovdenis/Perspex/comments{/number}","issue_comment_url":"https://api.github.com/repos/susloparovdenis/Perspex/issues/comments{/number}","contents_url":"https://api.github.com/repos/susloparovdenis/Perspex/contents/{+path}","compare_url":"https://api.github.com/repos/susloparovdenis/Perspex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/susloparovdenis/Perspex/merges","archive_url":"https://api.github.com/repos/susloparovdenis/Perspex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/susloparovdenis/Perspex/downloads","issues_url":"https://api.github.com/repos/susloparovdenis/Perspex/issues{/number}","pulls_url":"https://api.github.com/repos/susloparovdenis/Perspex/pulls{/number}","milestones_url":"https://api.github.com/repos/susloparovdenis/Perspex/milestones{/number}","notifications_url":"https://api.github.com/repos/susloparovdenis/Perspex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/susloparovdenis/Perspex/labels{/name}","releases_url":"https://api.github.com/repos/susloparovdenis/Perspex/releases{/id}","created_at":"2015-10-28T08:14:49Z","updated_at":"2015-10-28T08:14:53Z","pushed_at":"2015-12-16T07:59:24Z","git_url":"git://github.com/susloparovdenis/Perspex.git","ssh_url":"git@github.com:susloparovdenis/Perspex.git","clone_url":"https://github.com/susloparovdenis/Perspex.git","svn_url":"https://github.com/susloparovdenis/Perspex","homepage":"","size":40704,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Perspex:master","ref":"master","sha":"d2bbe8e08e8fe71e7078cad6c0dabc9a547df38b","user":{"login":"Perspex","id":14075148,"avatar_url":"https://avatars.githubusercontent.com/u/14075148?v=3","gravatar_id":"","url":"https://api.github.com/users/Perspex","html_url":"https://github.com/Perspex","followers_url":"https://api.github.com/users/Perspex/followers","following_url":"https://api.github.com/users/Perspex/following{/other_user}","gists_url":"https://api.github.com/users/Perspex/gists{/gist_id}","starred_url":"https://api.github.com/users/Perspex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Perspex/subscriptions","organizations_url":"https://api.github.com/users/Perspex/orgs","repos_url":"https://api.github.com/users/Perspex/repos","events_url":"https://api.github.com/users/Perspex/events{/privacy}","received_events_url":"https://api.github.com/users/Perspex/received_events","type":"Organization","site_admin":false},"repo":{"id":14964475,"name":"Perspex","full_name":"Perspex/Perspex","owner":{"login":"Perspex","id":14075148,"avatar_url":"https://avatars.githubusercontent.com/u/14075148?v=3","gravatar_id":"","url":"https://api.github.com/users/Perspex","html_url":"https://github.com/Perspex","followers_url":"https://api.github.com/users/Perspex/followers","following_url":"https://api.github.com/users/Perspex/following{/other_user}","gists_url":"https://api.github.com/users/Perspex/gists{/gist_id}","starred_url":"https://api.github.com/users/Perspex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Perspex/subscriptions","organizations_url":"https://api.github.com/users/Perspex/orgs","repos_url":"https://api.github.com/users/Perspex/repos","events_url":"https://api.github.com/users/Perspex/events{/privacy}","received_events_url":"https://api.github.com/users/Perspex/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Perspex/Perspex","description":"A multi-platform .NET UI framework.","fork":false,"url":"https://api.github.com/repos/Perspex/Perspex","forks_url":"https://api.github.com/repos/Perspex/Perspex/forks","keys_url":"https://api.github.com/repos/Perspex/Perspex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Perspex/Perspex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Perspex/Perspex/teams","hooks_url":"https://api.github.com/repos/Perspex/Perspex/hooks","issue_events_url":"https://api.github.com/repos/Perspex/Perspex/issues/events{/number}","events_url":"https://api.github.com/repos/Perspex/Perspex/events","assignees_url":"https://api.github.com/repos/Perspex/Perspex/assignees{/user}","branches_url":"https://api.github.com/repos/Perspex/Perspex/branches{/branch}","tags_url":"https://api.github.com/repos/Perspex/Perspex/tags","blobs_url":"https://api.github.com/repos/Perspex/Perspex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Perspex/Perspex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Perspex/Perspex/git/refs{/sha}","trees_url":"https://api.github.com/repos/Perspex/Perspex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Perspex/Perspex/statuses/{sha}","languages_url":"https://api.github.com/repos/Perspex/Perspex/languages","stargazers_url":"https://api.github.com/repos/Perspex/Perspex/stargazers","contributors_url":"https://api.github.com/repos/Perspex/Perspex/contributors","subscribers_url":"https://api.github.com/repos/Perspex/Perspex/subscribers","subscription_url":"https://api.github.com/repos/Perspex/Perspex/subscription","commits_url":"https://api.github.com/repos/Perspex/Perspex/commits{/sha}","git_commits_url":"https://api.github.com/repos/Perspex/Perspex/git/commits{/sha}","comments_url":"https://api.github.com/repos/Perspex/Perspex/comments{/number}","issue_comment_url":"https://api.github.com/repos/Perspex/Perspex/issues/comments{/number}","contents_url":"https://api.github.com/repos/Perspex/Perspex/contents/{+path}","compare_url":"https://api.github.com/repos/Perspex/Perspex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Perspex/Perspex/merges","archive_url":"https://api.github.com/repos/Perspex/Perspex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Perspex/Perspex/downloads","issues_url":"https://api.github.com/repos/Perspex/Perspex/issues{/number}","pulls_url":"https://api.github.com/repos/Perspex/Perspex/pulls{/number}","milestones_url":"https://api.github.com/repos/Perspex/Perspex/milestones{/number}","notifications_url":"https://api.github.com/repos/Perspex/Perspex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Perspex/Perspex/labels{/name}","releases_url":"https://api.github.com/repos/Perspex/Perspex/releases{/id}","created_at":"2013-12-05T20:13:21Z","updated_at":"2015-12-16T12:12:01Z","pushed_at":"2015-12-16T23:43:07Z","git_url":"git://github.com/Perspex/Perspex.git","ssh_url":"git@github.com:Perspex/Perspex.git","clone_url":"https://github.com/Perspex/Perspex.git","svn_url":"https://github.com/Perspex/Perspex","homepage":"","size":42118,"stargazers_count":729,"watchers_count":729,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":79,"mirror_url":null,"open_issues_count":102,"forks":79,"open_issues":102,"watchers":729,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Perspex/Perspex/pulls/362"},"html":{"href":"https://github.com/Perspex/Perspex/pull/362"},"issue":{"href":"https://api.github.com/repos/Perspex/Perspex/issues/362"},"comments":{"href":"https://api.github.com/repos/Perspex/Perspex/issues/362/comments"},"review_comments":{"href":"https://api.github.com/repos/Perspex/Perspex/pulls/362/comments"},"review_comment":{"href":"https://api.github.com/repos/Perspex/Perspex/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Perspex/Perspex/pulls/362/commits"},"statuses":{"href":"https://api.github.com/repos/Perspex/Perspex/statuses/7070ad51ed238a649229c7ef4682a482fda72534"}}}}