ScrollViewHelper.SetUseSystemMouseWheelLineSettings 方法

设置UseSystemMouseWheelLineSettings值。因为它包含任意UI,ScrollViewer不了解行的概念。因此,ScrollViewer不遵从设置系统鼠标滚轮滚动的行,默认为3。

相反,ScrollViewer将鼠标滚轮滚动增量用作内部滚动条箭头的三分接头等效。

将此属性设置为true允许附加ScrollViewer遵循系统鼠标滚轮滚动行设置。它将移动单击滚动条箭头N纪元等效,其中N是系统鼠标滚轮滚动行设置。

命名空间:  Microsoft.TeamFoundation.Controls.WPF
程序集:  Microsoft.TeamFoundation.Controls(在 Microsoft.TeamFoundation.Controls.dll 中)

语法

声明
Public Shared Sub SetUseSystemMouseWheelLineSettings ( _
    obj As ScrollViewer, _
    value As Boolean _
)
public static void SetUseSystemMouseWheelLineSettings(
    ScrollViewer obj,
    bool value
)

参数

.NET Framework 安全性

请参见

参考

ScrollViewHelper 类

Microsoft.TeamFoundation.Controls.WPF 命名空间