开发者

ScrollView not MouseWheel Scrolling when not over Control

I am using Silverlight 4.0

What is happening is that the ScrollViewer will only scroll when one hovers over controls like textbox, treeviews, etc.

开发者_StackOverflow

If the mouse is over non control objects (like grids) then the mousewheel scrolling doesn't work.

Is this normal behavior?


Give the ScrollViewer a background. If the background is transparent it will not catch any mouse events.

This is true with all controls. If you are trying to catch mouse events the control must have a background or the controls below it will receive the mouse events.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜