{"id":8108,"date":"2020-04-15T21:22:28","date_gmt":"2020-04-15T21:22:28","guid":{"rendered":"http:\/\/putridparrot.com\/blog\/?p=8108"},"modified":"2020-04-15T21:22:28","modified_gmt":"2020-04-15T21:22:28","slug":"how-to-extend-a-uwp-page-into-the-titlebar","status":"publish","type":"post","link":"https:\/\/putridparrot.com\/blog\/how-to-extend-a-uwp-page-into-the-titlebar\/","title":{"rendered":"How to extend a UWP page into the titlebar"},"content":{"rendered":"<p>If you want your page\/view to extend into the title bar area (in other words no longer having a title bar), then <em>OnLaunched<\/em> add the following<\/p>\n<pre class=\"brush: csharp; title: ; notranslate\" title=\"\">\r\nCoreApplication.GetCurrentView().TitleBar.ExtendViewIntoTitleBar = true;\r\n<\/pre>\n<p>and add this using clause<\/p>\n<pre class=\"brush: csharp; title: ; notranslate\" title=\"\">\r\nusing Windows.ApplicationModel.Core;\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>If you want your page\/view to extend into the title bar area (in other words no longer having a title bar), then OnLaunched add the following CoreApplication.GetCurrentView().TitleBar.ExtendViewIntoTitleBar = true; and add this using clause using Windows.ApplicationModel.Core;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[230],"tags":[],"class_list":["post-8108","post","type-post","status-publish","format-standard","hentry","category-uwp"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts\/8108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/comments?post=8108"}],"version-history":[{"count":3,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts\/8108\/revisions"}],"predecessor-version":[{"id":8111,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts\/8108\/revisions\/8111"}],"wp:attachment":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/media?parent=8108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/categories?post=8108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/tags?post=8108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}