{"id":424,"date":"2015-04-26T01:40:44","date_gmt":"2015-04-25T23:40:44","guid":{"rendered":"http:\/\/dev.flauschig.ch\/wordpress\/?p=424"},"modified":"2015-04-26T01:43:23","modified_gmt":"2015-04-25T23:43:23","slug":"comment-out-an-xaml-attribute-or-property","status":"publish","type":"post","link":"http:\/\/dev.flauschig.ch\/wordpress\/?p=424","title":{"rendered":"Comment out a XAML attribute (or property)"},"content":{"rendered":"<p>If you want to comment out a XAML attribute, follow the following scheme to complete this:<\/p>\n<ol>\n<li>Import the Open XML markup compatibility elements:\n<pre class=\"toolbar:2 lang:default decode:true \">xmlns:mc=\"http:\/\/schemas.openxmlformats.org\/markup-compatibility\/2006\"<\/pre>\n<\/li>\n<li>Add another xmlns statement mapping a prefix of your choice (like\u00a0&#8220;ignore&#8221;) to an URI of your choice.\u00a0This URI does not need to point to anything on the web. This is just a unique resource identifier.\n<pre class=\"toolbar:2 lang:default decode:true\">xmlns:ignore=\"http:\/\/something.com\/ignore\"<\/pre>\n<\/li>\n<li>Use the mc:Ignorable property to set the new prefix as ignorable.\n<pre class=\"toolbar:2 lang:default decode:true \">mc:Ignorable=\"ignore\"<\/pre>\n<blockquote><p>Note: If you already had one ignorable prefix defined (for example the &#8220;d&#8221; prefix that Expression Blend and the Visual Studio designer use), no problems. Just add the new prefix to the Ignorable list with a space to separate the prefixes.<\/p>\n<pre class=\"toolbar:2 lang:default decode:true \">mc:Ignorable=\"d ignore\"<\/pre>\n<\/blockquote>\n<\/li>\n<\/ol>\n<p>(<a href=\"http:\/\/blog.galasoft.ch\/posts\/2010\/02\/quick-tip-commenting-out-properties-in-xaml\">Source<\/a>)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want to comment out a XAML attribute, follow the following scheme to complete this: Import the Open XML markup compatibility elements: xmlns:mc=&#8221;http:\/\/schemas.openxmlformats.org\/markup-compatibility\/2006&#8243; Add another xmlns statement mapping a prefix of your choice (like\u00a0&#8220;ignore&#8221;) to an URI of your choice.\u00a0This URI does not need to point to anything on the web. This is just &hellip; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3],"tags":[],"class_list":{"0":"entry","1":"post","2":"publish","3":"author-roemer","4":"post-424","6":"format-standard","7":"category-programming"},"acf":[],"views":2655,"_links":{"self":[{"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/424"}],"collection":[{"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=424"}],"version-history":[{"count":0,"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/424\/revisions"}],"wp:attachment":[{"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=424"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}