Silverlight 3 Quick Tip: Native Mouse Wheel Support - DevCorner

Silverlight 3 Quick Tip: Native Mouse Wheel Support

Silverlight 3 supports the mouse wheel events natively. To use this handy feature just subscribe to “MouseWheel” of UIElement. The reported values will be like follows:

  • Positive for forward scroll
  • Negative for backward scroll

 

Enjoy,

Alex

Published Friday, July 10, 2009 10:26 AM by Alex Golesh

Comments

# Silverlight 3 Quick Tips

Pingback from  Silverlight 3 Quick Tips

Saturday, July 11, 2009 12:05 PM by Silverlight 3 Quick Tips

# Silverlight 3 Quick Tip: Native Mouse Wheel Support – DevCorner | Xmas Tips

Pingback from  Silverlight 3 Quick Tip: Native Mouse Wheel Support – DevCorner | Xmas Tips

# re: Silverlight 3 Quick Tip: Native Mouse Wheel Support

All very good in theory, but what am I missing? Why don't list controls like datagrid, combobox list, listbox, etc. automatically scroll when I use the mouse wheel?

Or is that more plumbing the developer still has to do with these buggy controls?

Saturday, July 18, 2009 3:12 PM by Jaans

# re: Silverlight 3 Quick Tip: Native Mouse Wheel Support

Jaans: Good question...

The simple answer - don't know, wondering "why not" too... :)

For myself, I created the behavior to handle this issue...

Regards,

Alex

Sunday, July 19, 2009 12:51 PM by Alex Golesh

# Silverlight 3 Quick Tip: Native Mouse Wheel Support – DevCorner « work4real.net

Pingback from  Silverlight 3 Quick Tip: Native Mouse Wheel Support – DevCorner « work4real.net

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above: