Implement MouseWheel support for Silverlight 3 controls(yinyangme.com)

submitted by jmccurdyjmccurdy(40) 2 years, 3 months ago

In the upcoming Silverlight 4 release, mousewheel support for controls will be implemented out of the box. However Silverlight 3 still requires you to roll your own mouse wheel support. The following MouseWheelProps class provides generic mousewheel support for all Silverlight controls that support the IScrollProvider interface (ScrollViewer, ListBox, DataGrid) or the IRangeValueProvider interface (Slider). This class implements a single attached property called Enable that can be added directly to a control, or as a style for a control.

add a comment |category: |Views: 8

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