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.
精彩评论