UI Updates With Databinding and INotifyPropertyChanged(www.dustinhorne.com)

submitted by nebraskadevnebraskadev(31) 1 year, 7 months ago

Today I'm going to show you how easy it is to leverage the power of property binding in Silverlight. I'm going to provide a very simplistic example that, while not very useful in itself, I hope will spark your imagination and show you how easy it is. In my example I'm going to show you how to capture the position of the mouse over a canvas and keep the live updated mouse position in a separate class. In addition, I'll show you how to update your UI directly (moving a box with the mouse and using labels to show the current mouse position) without directly wiring a single event to those controls in your page codebehind!

add a comment |category: |Views: 10

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