我们有一个运行在Win 7上的WPF应用程序。在Win 7中使用触摸手势时,在滚动ListView时,应用程序在到达列表末尾时会“耸耸肩”在屏幕上。
这也可以在Internet Explorer中重现。 如果您加载足够长的网页以产生滚动条,那么当用触摸手势滚动时,Windows在页面底部到达时“耸耸肩”IE。
有没有办法在Windows中closures耸肩,或用我的WPF应用程序中的代码以某种方式禁用它? 我需要保持联系,关掉耸肩。
如何在列表视图(Windows窗体C#)中创build一个平面的列标题button
当用户向上滚动时,在ListView Windows Phone 8.1 RT App中调用IncrementalLoading
Windows ListView控件(或类似的),可以有多列checkBox?
处理ManipulationBoundaryFeedback (即e.Handled = true )。
如果要禁用窗口中所有控件的边界,则应该将ManipulationBoundaryFeedback句柄放置在窗口的第一个面板上,而不是窗口本身上。
不起作用:
<Window x:Class="TestControls.BoundaryFeedback" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" ManipulationBoundaryFeedback="Control_ManipulationBoundaryFeedback" > </Window>
作品:
<Window x:Class="TestControls.BoundaryFeedback" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" > <Grid ManipulationBoundaryFeedback="Control_ManipulationBoundaryFeedback"> </Grid> </Window>
在后面的代码中:
private void Control_ManipulationBoundaryFeedback(object sender,ManipulationBoundaryFeedbackEventArgs e) { e.Handled = true; }
您可以禁用系统范围内的边界反馈。
它位于“笔触”控制面板的“平移”选项卡上。
http://www.youtube.com/watch?v=OObTOSglE1w
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。