IScrollInfo.MouseWheelRight 方法

定义

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

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

示例

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

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

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

适用于