Binding on a Property which is not a DependencyProperty(blog.lexique-du-net.com)

submitted by jmix90jmix90(570) 2 years, 1 month ago

A lot of controls expose properties which are not DependencyProperties and then you can’t put a binding on it. On some other cases, you only have a getter as accessor and you can’t put a binding on it too. This is for example the case for the ribbon’s group of the office ribbon or the converter’s parameter. If you ever tried to do so, you surely had an exception throwned : " A 'Binding' cannot be set on the 'SetCEDEJDED' property of type 'Tralala'. A 'Binding' can only be set on a DependencyProperty of a DependencyObject." In this post we will discover a work-around…

add a comment |category: |Views: 45

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story