{"id":5051,"date":"2014-03-30T18:23:53","date_gmt":"2014-03-30T18:23:53","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/how-to-find-whether-a-property-on-a-xaml-object-is-bindable-or-not-in-wpf-silverlight-collection-of-common-programming-errors\/"},"modified":"2014-03-30T18:23:53","modified_gmt":"2014-03-30T18:23:53","slug":"how-to-find-whether-a-property-on-a-xaml-object-is-bindable-or-not-in-wpf-silverlight-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/how-to-find-whether-a-property-on-a-xaml-object-is-bindable-or-not-in-wpf-silverlight-collection-of-common-programming-errors\/","title":{"rendered":"How to find whether a property on a XAML object is bindable or not in WPF\/Silverlight-Collection of common programming errors"},"content":{"rendered":"<p>I use intellisense for it.<br \/>\nSay I want to know wheter or not Background for TreeViewItem is bindable (is dependency property), I type TreeViewItem.Background in the code behind file and if a BackgroundProperty pops up then I know its bindable (it&#8217;ll also say DependencyProperty in the ToolTip just to be sure).<\/p>\n<p>If I wanted to check IsLoaded instead there wouldn&#8217;t be an IsLoadedProperty since IsLoaded isn&#8217;t a dependency property.<\/p>\n<p>But I agree, there has to be a better way<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I use intellisense for it. Say I want to know wheter or not Background for TreeViewItem is bindable (is dependency property), I type TreeViewItem.Background in the code behind file and if a BackgroundProperty pops up then I know its bindable (it&#8217;ll also say DependencyProperty in the ToolTip just to be sure). If I wanted to [&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-5051","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5051","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=5051"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5051\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5051"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5051"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5051"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}