Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k views
in Technique[技术] by (71.8m points)

wpf - Windows 7 Touch Screen "Shrug"

We've got a WPF app that runs on Win 7. With touch gestures on in Win 7, while scrolling a ListView, the application "shrugs" on the screen when the end of the list is reached.

This can be reproduced in Internet Explorer as well. If you load a web page that is long enough to produce a scroll bar, Windows "shrugs" IE when the bottom of the page is reached while scrolling with touch gestures.

Is there a way to turn off the shrug in Windows or disable it in some way with code in my WPF app? I need to keep touch on, just turn off the shrug.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Handle the ManipulationBoundaryFeedback (i.e. e.Handled = true).


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...