开发者

WPF Scrollviewer PanningMode move Window?

I have add a ScrollViewer in my WPF4 Window with Scrol开发者_运维问答lViewer.PanningMode. When I drag scrollviewer on my multitouch screen it's OK. But... the Window move with scroll when I arrive on top scroll or bottom scroll. How can we avoid this?


Edit: To complete the answer: There is a native event for this which can just be marked as handled: ManipulationBoundaryFeedback

This movement is called boundary feedback which is governed by the operating system (can be set by users in the Pen and Touch settings on the Panning tab). I do not know if the Windows API allows you to prevent it, this page might be relevant.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜