带触摸屏的垂直滚动条行为 [英] Vertical scrollbar behavior with touch screen

查看:80
本文介绍了带触摸屏的垂直滚动条行为的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

向上滑动时,垂直滚动条向下移动并向下滑动使滚动条向上移动。有没有办法阻止垂直滚动条的这种行为?

When I swipe up, vertical scrollbar moves down and swiping down makes the scrollbar moves up. Is there any way to stop this behavior of vertical scrollbar ?

我已在以下链接中更详细地解释了这个问题

I have explained the question in more detail in the following link

http://stackoverflow.com/questions/39092215

http://stackoverflow.com/questions/39092215

从我的分析中,我发现了以下内容

From my analysis, I found the following things

1)向上或向下滑动控件,在子控件中搜索垂直滚动条

1) Swiping up or down on a control, searches for a vertical scrollbar in child controls

2)如果找到垂直滚动条,则某些标志(例如changeVerticalBehavior)设置为true。

2) If vertical scrollbar is found, some flag (say changeVerticalBehavior) is set to true.

3)启用此标志后,它不会禁用。因此,垂直滚动条始终向相反方向移动

3) Once this flag is enabled, it is not disabling. So vertical scrollbar always move in the opposite direction

我的问题是,

1)如何阻止控件搜索垂直滚动条?

1) How to stop the control from searching for a vertical scrollbar ?

2)垂直滚动条上设置的标志是什么影响滚动行为?是否可以重置它?

2) What is the flag set on vertical scrollbar that affects the scrolling behavior ? Is it possible to reset it ?

注意:我在这里提到了标志,因为我没有垂直滚动条类的源代码。

Note: I mentioned flag here, because I don't have the source code for vertical scrollbar class.

我在https://connect.microsoft.com/VisualStudio/feedback/details/3078476提交了一份错误报告

I submitted a bug report in https://connect.microsoft.com/VisualStudio/feedback/details/3078476

推荐答案


当我向上滑动时,垂直滚动条向下移动并向下滑动使滚动条向上移动。有没有办法阻止垂直滚动条的这种行为?

When I swipe up, vertical scrollbar moves down and swiping down makes the scrollbar moves up. Is there any way to stop this behavior of vertical scrollbar ?

我已在以下链接中更详细地解释了这个问题

I have explained the question in more detail in the following link

http://stackoverflow.com/questions/39092215

http://stackoverflow.com/questions/39092215

从我的分析中,我发现了以下内容

From my analysis, I found the following things

1)向上或向下滑动控件,在子控件中搜索垂直滚动条

1) Swiping up or down on a control, searches for a vertical scrollbar in child controls

2)如果找到垂直滚动条,则某些标志(例如changeVerticalBehavior)设置为true。

2) If vertical scrollbar is found, some flag (say changeVerticalBehavior) is set to true.

3)启用此标志后,它不会禁用。因此,垂直滚动条始终向相反方向移动

3) Once this flag is enabled, it is not disabling. So vertical scrollbar always move in the opposite direction

我的问题是,

1)如何阻止控件搜索垂直滚动条?

1) How to stop the control from searching for a vertical scrollbar ?

2)垂直滚动条上设置的标志是什么影响滚动行为?是否可以重置它?

2) What is the flag set on vertical scrollbar that affects the scrolling behavior ? Is it possible to reset it ?

注意:我在这里提到了标志,因为我没有垂直滚动条类的源代码。

Note: I mentioned flag here, because I don't have the source code for vertical scrollbar class.

我在https://connect.microsoft.com/VisualStudio/feedback/details/3078476提交了一份错误报告

I submitted a bug report in https://connect.microsoft.com/VisualStudio/feedback/details/3078476

任何人都知道吗?


这篇关于带触摸屏的垂直滚动条行为的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆