Use dataBinding and DependencyProperty with a non-WPF or extern object(blog.lexique-du-net.com)

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

Sometimes you need to use the databinding with an object that you have not created and you can't use inheritance. For example I wanted to use a Mogre Camera and build some WPF animation with it and I couldn't because : WPF animation needed a DependencyProperty to manipulate, I couldn't derive the Mogre.Camera class and add it the correct things because I got the camera from a factory object (the sceneManager). Then I couldn't use the WPF animation to move my camera... next is how I solve it.

add a comment |category: |Views: 33

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