Recommended

  • Silverlight.FX
    Silverlight.FX is a light-weight application framework for building RichInternet Applications with Silverlight 2.
  • Building Modular Silverlight Applications
  • Prism -  10 Things to Know
  • Securing Silverlight Application and WCF Service using ASP.Net Authentication Techniques
  • Model– View – ViewModel in Silverlight

Silverlight Hosting

More from Beat Kiener

Skip Navigation LinksHome / News / View News

Mouse Wheel Behavior With Native UIElement MouseWheel Event

+ Add to SilverlightShow Favorites
0 comments   /   posted by Beat Kiener on Sep 07, 2009
(0 votes)
Tags: MouseWheel , UI Elements , Behaviors , Controls

In this post Beat Kiener creates an attached behavior to support mouse wheel scrolling for any control like a combo box.

The behavior should use the native UIElement.MouseWheel without any javascript code, because javascript is not supported in out of browser scenario.

It sounds easy, but the problem is that the mouse wheel event is not bubbling up the visual tree as expected inside a popup control.
Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 5 and 2 and type the answer here: