{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/issues/485","repository_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit","labels_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/issues/485/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/issues/485/comments","events_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/issues/485/events","html_url":"https://github.com/Microsoft/UWPCommunityToolkit/pull/485","id":183477290,"number":485,"title":"PrintHelper + Code printing","user":{"login":"deltakosh","id":1306056,"avatar_url":"https://avatars.githubusercontent.com/u/1306056?v=3","gravatar_id":"","url":"https://api.github.com/users/deltakosh","html_url":"https://github.com/deltakosh","followers_url":"https://api.github.com/users/deltakosh/followers","following_url":"https://api.github.com/users/deltakosh/following{/other_user}","gists_url":"https://api.github.com/users/deltakosh/gists{/gist_id}","starred_url":"https://api.github.com/users/deltakosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deltakosh/subscriptions","organizations_url":"https://api.github.com/users/deltakosh/orgs","repos_url":"https://api.github.com/users/deltakosh/repos","events_url":"https://api.github.com/users/deltakosh/events{/privacy}","received_events_url":"https://api.github.com/users/deltakosh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/labels/reviewers%20wanted","name":"reviewers wanted","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-17T17:26:44Z","updated_at":"2016-10-24T17:30:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/pulls/485","html_url":"https://github.com/Microsoft/UWPCommunityToolkit/pull/485","diff_url":"https://github.com/Microsoft/UWPCommunityToolkit/pull/485.diff","patch_url":"https://github.com/Microsoft/UWPCommunityToolkit/pull/485.patch"},"body":"PrintHelper allows developer to print a XAML control per page (no page break).\r\nYou can easily create any kind of xaml (like textboxes, rich text or even images) and send them to the printer with a few lines of code:\r\n\r\n```\r\nvar printHelper = new PrintHelper(Container);\r\nprintHelper.AddFrameworkElementToPrint(PrintableContent);\r\n\r\nprintHelper.OnPrintFailed += PrintHelper_OnPrintFailed;\r\nprintHelper.OnPrintSucceeded += PrintHelper_OnPrintSucceeded;\r\n\r\nawait printHelper.ShowPrintUIAsync(\"UWP Community Toolkit Sample App\");\r\n```\r\n\r\nThis PR also includes a Print button to print code samples (Fixes #450)\r\n\r\nDocumentation will come in another PR"},"comment":{"url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/issues/comments/255808521","html_url":"https://github.com/Microsoft/UWPCommunityToolkit/pull/485#issuecomment-255808521","issue_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/issues/485","id":255808521,"user":{"login":"deltakosh","id":1306056,"avatar_url":"https://avatars.githubusercontent.com/u/1306056?v=3","gravatar_id":"","url":"https://api.github.com/users/deltakosh","html_url":"https://github.com/deltakosh","followers_url":"https://api.github.com/users/deltakosh/followers","following_url":"https://api.github.com/users/deltakosh/following{/other_user}","gists_url":"https://api.github.com/users/deltakosh/gists{/gist_id}","starred_url":"https://api.github.com/users/deltakosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deltakosh/subscriptions","organizations_url":"https://api.github.com/users/deltakosh/orgs","repos_url":"https://api.github.com/users/deltakosh/repos","events_url":"https://api.github.com/users/deltakosh/events{/privacy}","received_events_url":"https://api.github.com/users/deltakosh/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T17:30:27Z","updated_at":"2016-10-24T17:30:27Z","body":"Unfortunately there is XamlReader in UWP :("}}
{"actor":{"display_login":"deltakosh"}}