{"id":757,"date":"2019-02-13T13:05:58","date_gmt":"2019-02-13T13:05:58","guid":{"rendered":"https:\/\/ibex.tech\/windows-iot\/?p=757"},"modified":"2025-04-28T12:52:03","modified_gmt":"2025-04-28T11:52:03","slug":"content-dialog-general","status":"publish","type":"post","link":"https:\/\/ibex.tech\/csharp\/uwp-programming-in-c\/windows-and-pages\/pages\/content-dialog-boxes\/content-dialog-general","title":{"rendered":".Content Dialog General"},"content":{"rendered":"\n<h5 class=\"wp-block-heading\">Set dialog box name<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code>x:Name=\"MyDialogBox\"<\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">Close dialog box<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code>MyDialogBox.Hide();\n\n\/\/Or\nthis.Hide();<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Width and height<\/h4>\n\n\n\n<p>It looks like you have to leave space around a content dialog.<\/p>\n\n\n\n<p>In our test using a 800&#215;1280 screen the max width and height was 750 x 700 (Margin=&#8221;0,0,0,0&#8243;)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Set dialog box name Close dialog box Width and height It looks like you have to leave space around a content dialog. In our test using a 800&#215;1280 screen the max width and height was 750 x 700 (Margin=&#8221;0,0,0,0&#8243;)<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[100],"tags":[],"class_list":["post-757","post","type-post","status-publish","format-standard","hentry","category-content-dialog-boxes"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/757","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=757"}],"version-history":[{"count":3,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/757\/revisions"}],"predecessor-version":[{"id":1404,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/757\/revisions\/1404"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/media?parent=757"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/categories?post=757"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/tags?post=757"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}