
{"id":830,"date":"2011-06-27T21:22:45","date_gmt":"2011-06-28T01:22:45","guid":{"rendered":"http:\/\/www.ikriv.com\/blog\/?p=830"},"modified":"2011-06-27T21:22:45","modified_gmt":"2011-06-28T01:22:45","slug":"wpf-bindings-follow-up","status":"publish","type":"post","link":"https:\/\/ikriv.com\/blog\/?p=830","title":{"rendered":"WPF Bindings Follow Up"},"content":{"rendered":"<p>I did more investigation on the bindings (duh, only two months later). It turns out the bindings are replaced when the value of the target dependency property is replaced. This has <i>some<\/i> logic to it, as in XAML we write<\/p>\n<p><code>&lt;MyObject MyProperty=\"{Binding SomePath}\"&gt;<\/code><\/p>\n<p>and thus the binding becomes a &#8220;value&#8221; of the property, at least visually. Thus, if we now have MyProperty=&#8221;42&#8243;, the bindings should go. However, this seems to be catching even some Microsoft developers by surprise (Google &#8220;radio button binding bug&#8221;).<\/p>\n<p>I could not reproduce binding disappearance after converter failure (converter throws exception), either one way or two way. This was probably a quirk of our specific program, or some other, unrelated problem.<\/p>\n<p><a style=\"display:none\" href=\"http:\/\/www.codeproject.com\/script\/Articles\/BlogFeedList.aspx?amid=1181663\" rel=\"tag\">CodeProject<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I did more investigation on the bindings (duh, only two months later). It turns out the bindings are replaced when the value of the target dependency property is replaced. This <a href=\"https:\/\/ikriv.com\/blog\/?p=830\" class=\"more-link\">[&hellip;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"Layout":"","footnotes":""},"categories":[12],"tags":[],"class_list":["entry","author-ikriv","post-830","post","type-post","status-publish","format-standard","category-wpf"],"_links":{"self":[{"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/830","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=830"}],"version-history":[{"count":0,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/830\/revisions"}],"wp:attachment":[{"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=830"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=830"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=830"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}