{"id":128,"date":"2016-11-23T12:33:01","date_gmt":"2016-11-23T12:33:01","guid":{"rendered":"https:\/\/ibex.tech\/windows-iot\/?p=128"},"modified":"2016-11-23T12:33:01","modified_gmt":"2016-11-23T12:33:01","slug":"create-new-page","status":"publish","type":"post","link":"https:\/\/ibex.tech\/csharp\/uwp-programming-in-c\/windows-and-pages\/pages\/create-new-page","title":{"rendered":"Create New Page"},"content":{"rendered":"\n<p>Menu &gt; Project &gt; Add New Item &gt; Visual C# &gt; Blank Page<\/p>\n\n\n\n<p>Give it a name (Using a nameing convention like &#8220;Page#####.xaml&#8221; can be useful so keep your pages grouped together in the solution explorer and easily identifiable.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Nice Things To Do<\/h4>\n\n\n\n<h5 class=\"wp-block-heading\">Add this before the constructor<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code>\tpublic sealed partial class MyPageName : Page\n\t{\n\t\t\/\/--------------------------\n\t\t\/\/----- PUBLIC DEFINES -----\n\t\t\/\/--------------------------\n\t\t\/\/public \n\n\t\t\/\/---------------------------\n\t\t\/\/----- PRIVATE DEFINES -----\n\t\t\/\/---------------------------\n\t\t\/\/private \n\n\t\t\/\/--------------------------\n\t\t\/\/----- PUBLIC OBJECTS -----\n\t\t\/\/--------------------------\n\t\t\/\/public \n\n\t\t\/\/---------------------------\n\t\t\/\/----- PRIVATE OBJECTS -----\n\t\t\/\/---------------------------\n\t\t\/\/private \n\n\n\t\t\/\/*********************************\n\t\t\/\/*********************************\n\t\t\/\/********** CONSTRUCTOR **********\n\t\t\/\/*********************************\n\t\t\/\/*********************************\n\t\tpublic MyPageName()<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Menu &gt; Project &gt; Add New Item &gt; Visual C# &gt; Blank Page Give it a name (Using a nameing convention like &#8220;Page#####.xaml&#8221; can be useful so keep your pages grouped together in the solution explorer and easily identifiable. Nice Things To Do Add this before the constructor<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[75],"tags":[],"class_list":["post-128","post","type-post","status-publish","format-standard","hentry","category-pages"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/128","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/comments?post=128"}],"version-history":[{"count":0,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/128\/revisions"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/media?parent=128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/categories?post=128"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/tags?post=128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}