{"id":3641,"date":"2014-03-29T07:23:35","date_gmt":"2014-03-29T07:23:35","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/29\/problem-about-systemcolors-collection-of-common-programming-errors\/"},"modified":"2014-03-29T07:23:35","modified_gmt":"2014-03-29T07:23:35","slug":"problem-about-systemcolors-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/29\/problem-about-systemcolors-collection-of-common-programming-errors\/","title":{"rendered":"problem about systemcolors-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/2d1eeefe29aad824bf86b84c0f44a43e?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nDeveloper&#8217;s Destiny<br \/>\nwpf xaml markup-extensions dynamicresource systemcolors<br \/>\nI have a corner case where both dynamic resources (don&#8217;t allow for converters) and custom markup extensions (only evaluated once) won&#8217;t do the trick. I want to create gradient brushes based on faded variants of the current system colors. Those brushes should update themselves whenever the system&#8217;s color theme changes, so that users don&#8217;t need to restart the application in case they switch to an accessibility theme.Is it possible to detect changes of the system&#8217;s color theme at runtime within an<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Developer&#8217;s Destiny wpf xaml markup-extensions dynamicresource systemcolors I have a corner case where both dynamic resources (don&#8217;t allow for converters) and custom markup extensions (only evaluated once) won&#8217;t do the trick. I want to create gradient brushes based on faded variants of the current system colors. Those brushes should update themselves whenever the system&#8217;s color [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3641","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3641","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3641"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3641\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3641"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3641"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}