IScrollInfo.MouseWheelUp 方法

定义

用户单击鼠标的滚轮按钮后向上滚动内容。

public:
 void MouseWheelUp();
public void MouseWheelUp ();
abstract member MouseWheelUp : unit -> unit
Public Sub MouseWheelUp ()

示例

以下示例演示如何在过程代码中使用 MouseWheelUp 该方法。

private void spMouseWheelUp(object sender, RoutedEventArgs e)
{
    ((IScrollInfo)sp1).MouseWheelUp();
}
Private Sub spMouseWheelUp(ByVal sender As Object, ByVal args As RoutedEventArgs)

    CType(sp1, IScrollInfo).MouseWheelUp()
End Sub

适用于